Get Access Token

These are the routes for authing the API and going through the OAuth flow.

Applications utilizing a personal API token don't use this endpoint.

Note: OAuth tokens are not supported when using the Try It feature of our Reference docs. You can't try this endpoint from your web browser.

Request
query Parameters
client_id
required
string

Oauth app client id

client_secret
required
string

Oauth app client secret

code
required
string

Code given in redirect url

Responses
200
post/v2/oauth/token
Request samples
Response samples
application/json
{
  • "access_token": "access token"
}