Authentication

Create or renew your access tokens

Create or renew your access token.

:::info If you need more info on tokens, check our user guides. :::

post/token

Request body

OR

Example request

{
  "api_key": "AAAA.1234567890abcdef1234567890abcdefPTs="
}

Response

The operation was successful.

access_tokenstring required

The short-lived Bearer token that you need to pass on API calls.

refresh_tokenstring

A long-lived token that you can use to renew access tokens.

organization_idinteger required

The unique identifier for your organization.

token_expires_atinteger

The timestamp when the access token expires, in milliseconds.

Example response

{
  "access_token": "abJraWQi...",
  "refresh_token": "abJraWQi...",
  "organization_id": 1234,
  "token_expires_at": 1700000000000
}

Changes

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