Skip to content

API keys

API keys are the simplest way to connect your own backend, script, or data workflow.

  1. In Infinite Audience, open Account → Partnerships.
  2. Create a key, give it a recognizable name, and choose the scopes it needs.
  3. Copy the key when it appears and store it in your secret manager.

Only organization owners and admins can create or revoke keys. The full key is shown once; if it is lost, revoke it and create another.

An API key beginning with cf_live_ is exchanged for a one-hour bearer token:

Terminal window
curl -X POST https://api.infiniteaudience.ai/v1/auth/token \
-H "Content-Type: application/json" \
-d '{"api_key":"cf_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXX"}'
{
"access_token": "eyJhbGciOi...",
"token_type": "Bearer",
"expires_in": 3600
}

Use the returned token—not the raw key—on API requests:

Terminal window
curl https://api.infiniteaudience.ai/v1/catalog/fields \
-H "Authorization: Bearer eyJhbGciOi..."

Open Account → Partnerships and deactivate the key, or call DELETE /v1/settings/api-keys/{id}. Previously issued access tokens may remain valid for up to one hour, so rotate deliberately.