Authentication
How to authenticate with the Actually Tracking API
Client ID & Secret
Actually Tracking uses client credentials for authentication. Every API client has a Client ID and a Client Secret that you generate from the dashboard.
Pass them as request headers:
actuallytracking-client-id: <clientId>
actuallytracking-client-secret: <secret>API Client Types
| Type | Description |
|---|---|
write | Can ingest events and profile updates |
read | Can query analytics data (insights, export, etc) |
root | Full access — use only for server-side admin |
Creating a Client
A key can also be given a list of permissions instead of a type, such as analytics:read or dashboards:write. It can then do only what the list names. See permissions.
Go to Settings → API Clients in your dashboard and create a client with the appropriate type or permissions. Copy the secret immediately — it is only shown once.
For more details on authentication, permissions, and security best practices, see the Authentication guide.