Auth

Exchange API key for an access token

Public endpoint — no token required. Exchanges an org API key (cf_live_...) for a short-lived Bearer access token. Include the returned access_token as Authorization: Bearer <access_token> on all subsequent protected requests. Suspended organisations and children of a suspended agency cannot exchange API keys.

post/v1/auth/token

Request

  • Base URL: https://api.infiniteaudience.ai
  • URL: https://api.infiniteaudience.ai/v1/auth/token
  • Auth: none required

Request body

api_keystring required

Organisation API key in format cf_live_...

Response

Access token issued

access_tokenstring required

Bearer access token — include as Authorization header on protected requests

token_typestring required
expires_ininteger required

Token lifetime in seconds

Example response

{
  "token_type": "bearer"
}

Changes

No recorded changes to this operation across all 1 revision of this API.