Token

Create API Access Token

Exchange a refresh token for a short-lived JWT access token used to authorize Developer API requests.

post/api/token

Request

Request body

refreshtokenstring required

Long-lived refresh token issued at signup; used to mint a fresh short-lived access token.

Example request

{
  "refreshtoken": "example"
}

Response

Success

tokenstring required

Short-lived JWT access token to use as Authorization: Bearer <token> on subsequent Developer API calls.

expires_ininteger required

Number of seconds after which the access token expires.

refresh_tokenstring required

Long-lived refresh token for obtaining a new access token (echoes the token supplied in the request).

scopestring required

Level of access granted by the token. Currently always api.

Changes

No recorded changes to this operation across all 1 revision of this API.