Skip to main content

Retrieve an access token

Use the Client ID and Client Secret to acquire access token. You can integrate this step as an initializer when your web application is booting, and reuse access token in subsequent endpoints.

Request Body
client_id string REQUIRED

Your app's Client ID.

client_secret string REQUIRED

Your app's Client Secret.

grant_type string REQUIRED

The name of the Grant Token's type.

scope string

You can add optional scope parameter to restricts actions that can be performed by a token. Scope parameter should contain comma separated scope strings, and each scope string should follow this convention: resource[:action][:target]. For example, if you want to create a token that can read/write TemplateStyleVersion with an id Zx1A, you can construct scope parameter like template_style_version:write:Zx1A.


Access token retrieved.