Secret keys
Most API endpoints require a secret key. Pass it as a Bearer token in the Authorization header.
Secret keys are prefixed with tn_live_. Get yours from the dashboard.
Secret keys have full access to your account. Never expose them in client-side code, browser requests, or public repositories.
Publishable keys
The device endpoints (/identify and /validate) use a publishable key instead. Publishable keys are safe to embed in browser JavaScript.
Publishable keys are prefixed with pk_live_. Find yours in the dashboard under API Keys.
Error responses