Authentication

Getting an Access Token

Changed on

Get an access_token for a new user.<br><br><strong>Note:</strong> Access tokens currently have a fixed validity period of 10 years. Automatic token refresh is planned for a future API release but is not available at this time.

post/user/auth

Request

Request body

service_tokenstring required

The token for your service

Response

Created

access_tokenstring

The access token for the authenticated user.

refresh_tokenstring
expired_instring

string (unix-timestamp)

Example response

{
  "access_token": "YOUR_ACCESS_TOKEN",
  "refresh_token": "qwe111rtz222uio333",
  "expired_in": "unix-timestamp"
}

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status