Skip to main content
POST
Get an access token

Body

application/json
client_id
string
required
client_secret
string
required
redirect_uri
string
required
grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
code
string

Required if grant_type is authorization_code

refresh_token
string

Required if grant_type is refresh_token

Response

The access token

access_token
string
expires_at
string<date-time>

When the access token expires

refresh_token
string
refresh_token_expires_at
string<date-time>

When the refresh token expires. Omitted for refresh tokens that do not expire.