All versions ->

Copy link to request setupRun requestRun
POST/oauth2/token

Obtain token

Returns an OAuth access token and a refresh token unless the short_lived parameter is set to true, in which case the endpoint returns only an access token. API Reference ->

Sign in
SandboxProduction

Access Tokens

Sign in to populate your access tokens from the developer dashboard Sign in

Link to section

Body

client_id

string

Required

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

grant_type

string

Required

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

client_secret

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

code

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

code_verifier

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

migration_token

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

redirect_uri

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

refresh_token

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

scopes

string [ ]

short_lived

boolean

POST /oauth2/token

Response

// No response received yet.