latestOpenAPI 3.0.0Private2026-08-1081731.5 KB

170261dc1673

OAuth2

Token

Used by the client to obtain an access token by presenting an authorization grant or refresh token

post/v2/oauth/token

Response

Success

access_tokenstring required

The access token which is used as a bearer token in the Authorization header

access_token_expires_atstring date-time required

The date and time when the access token expires and is no longer valid

scopesstring[] required

A list of scopes that this token has access to

users_idinteger required

The identifier for the user this token is for

apps_idinteger required

When the token is scoped, the identifier for the app that the token is scoped to

client_idstring required

The id of the API client this token is issued for

Example response

{
  "access_token_expires_at": "1970-04-20 07:10:00+00"
}