Exchange OAuth credentials for an access token
Exchanges OAuth client or user grant credentials for an access token.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
grant_type
Allowed values:
client_id
OAuth client ID. Required for client_secret_post.
client_secret
OAuth client secret. Required for client_secret_post.
scope
Space-delimited scopes requested for the access token.
code
Authorization code for the authorization_code grant.
redirect_uri
Redirect URI bound to the authorization code.
code_verifier
PKCE code verifier for the authorization code exchange.
refresh_token
Refresh token for the refresh_token grant.
Response
Access token issued successfully.
access_token
token_type
expires_in
refresh_token
scope
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error