Authentication
Get access token
Exchange an authorization code for an access token using the OAuth authorization code flow.
POST
Exchange an authorization code for an access token. Use this endpoint after the user authorizes your app and you receive an authorization code.
Request structure
Basic authentication using your OAuth client ID and client secret. Format:
Basic base64(client_id:client_secret) or use -u flag in cURL.Must be
authorization_code for this flow.The authorization code received from the OAuth redirect after user authorization.
The redirect URI that was used in the authorization request. Must match exactly.
Response structure
The access token to use for authenticating API requests. Include in the
Authorization: Bearer <access_token> header.Always
Bearer for access tokens.Number of seconds until the access token expires.
Token used to obtain a new access token when the current one expires.
Space-separated list of scopes granted to this token.