X-API-KEY HTTP header. There is no OAuth flow or session; a single long-lived key represents your account.
Get your API key
Find your API key in the Detrack dashboard under Integrations > API Key. Copy the key exactly as shown, with no extra spaces.Send the header
Include theX-API-KEY header on every request:
Authentication errors
If the header is missing or the key is invalid, the API responds with401 Unauthorized. If the key is valid but lacks permission for the requested action, the API responds with 403 Forbidden. See Errors for the full list of client error statuses.
Best practices
- Store your API key in an environment variable or secret manager, never in source code.
- Rotate keys immediately if they may have been exposed.
