Me
Create an OAuth Token
Exchange a code for a token
POST
/
v5
/
oauth
/
token
For more information about OAuth, follow our Webapp guide.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
grant_type
enum<string>
requiredThe grant type
Available options:
authorization_code
code
string
requiredThe authorization code
client_id
string
requiredThe client ID of your oAuth application.
client_secret
string
requiredThe client secret of your oAuth application.
redirect_uri
string
requiredThe redirect URI
Response
201 - application/json
access_token
string
requiredThe access token of the user
Was this page helpful?