Api Token Exchange

View as Markdown

Headers

authorizationstringRequired

Request

This endpoint expects an object.
grant_typestringRequired

OAuth 2.0 grant type — only client_credentials is supported.

client_idstringOptional
The API key id shown in the CMS key list.
client_secretstringOptional

The API key secret (perkss_sk_live_…) shown exactly once at creation. May alternatively be sent via HTTP Basic authentication.

ttl_secondsstringOptional

Requested token lifetime in seconds, clamped to [60, 86400]. Defaults to 86400 (24h). Use short TTLs for browser-bound tokens.

Response