diff --git a/views/static/api.jade b/views/static/api.jade
index d9ee4e4334..d33d4e370c 100644
--- a/views/static/api.jade
+++ b/views/static/api.jade
@@ -80,7 +80,7 @@ html
h2 Extensions / Scripts
p HabitRPG has a simple API for up-scoring and down-scoring third party Habits: POST /api/v2/user/tasks/{id}/{direction} (headers x-api-user and x-api-key required).
h4 Example
- p curl -X POST -H "x-api-key: YOUR_API_TOKEN" -H "x-api-user: YOUR_USER_ID" https://beta.habitrpg.com/api/v2/user/tasks/productivity/up
+ p curl -X POST -H "x-api-key: YOUR_API_TOKEN" -H "x-api-user: YOUR_USER_ID" https://habitrpg.com/api/v2/user/tasks/productivity/up
p Note: You may need to add --compressed -H "Content-Type:application/json" to your curl if you get errors.
ul
li POST to the URL /api/v2/user/tasks/{id}/{direction}
@@ -91,7 +91,7 @@ html
h2 Full API
p All API requests should be prefaced by https://habitrpg.com. Every authenticated request should include two headers. Your api key (x-api-key) and your user id (x-api-user). Do not include {} braces in your header (-H 'x-api-user: a94b6d9d-6b64-43ae-856c-2c3f211bd426')
h2 Requirements:
- p The base-url for all routes is /api/v2. So /user actions will be at https://beta.habitrpg.com/api/v2/user/*. You need to send x-api-user and x-api-key headers for each request.
+ p The base-url for all routes is /api/v2. So /user actions will be at https://habitrpg.com/api/v2/*. You need to send x-api-user and x-api-key headers for each request.
p For create & edit paths (PUT & POST), you'll need to know the schema of the object you're trying to create or edit. See Schema definitions here
p If any of the documentation is lacking or you're having trouble with it, please post an issue to Github
#message-bar.swagger-ui-wrap