Token
Path parameters
account_idstringRequired
Account ID - Can be found in settings > account on the platform
Query parameters
expires_ininteger · int32OptionalDefault:
Expiration time in seconds (0 for non expiration time)
0Body
grant_typestringOptionalDefault:
OAuth2 authorization type
client_credentialsscopestringOptionalDefault:
Needed scope (space separated) or * for all scope of the parent client.
*client_idstringOptional
Client ID
client_secretstringOptional
Client Secret
Responses
200
200
application/json
access_tokenstringOptionalExample:
{ACCESS_TOKEN}expires_inintegerOptionalDefault:
0Example: 0refresh_tokenstringOptionalExample:
{REFRESH_TOKEN}scopestringOptionalExample:
campaign.create campaign.update campaign.toggle env:*token_typestringOptionalExample:
Bearer400
400
application/json
post
/{account_id}/tokenLast updated
Was this helpful?

