For the complete documentation index, see llms.txt. This page is also available as Markdown.

Token

Operations related to authentication token generation

Generate OAuth2 token using client credentials

post
Path parameters
account_idstringRequired

Account ID - Can be found in settings > account on the platform

Query parameters
expires_ininteger · int32Optional

Expiration time in seconds (0 for non expiration time)

Default: 0
Body
grant_typestringOptional

OAuth2 authorization type

Default: client_credentials
scopestringOptional

Needed scope (space separated) or * for all scope of the parent client.

Default: *
client_idstringOptional

Client ID

client_secretstringOptional

Client Secret

Responses
200

200

application/json
access_tokenstringOptionalExample: {ACCESS_TOKEN}
expires_inintegerOptionalDefault: 0Example: 0
refresh_tokenstringOptionalExample: {REFRESH_TOKEN}
scopestringOptionalExample: campaign.create campaign.update campaign.toggle env:*
token_typestringOptionalExample: Bearer
post/{account_id}/token

Last updated

Was this helpful?