Clients
Manage API clients for your Actually Tracking projects. Create, read, update, and delete clients with different access levels.
Authentication
Requires a root client, or a key with the clients:write permission. See the Authentication guide.
Base URL
https://api.actuallytracking.com/manage/clientsClient types
| Type | Description |
|---|---|
write | Ingest events and profile updates |
read | Query analytics data (insights, export) |
root | Full access — manage API, read, and write |
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /manage/clients | List all clients (optionally filter by projectId) |
GET | /manage/clients/{id} | Get a specific client |
POST | /manage/clients | Create a new client |
PATCH | /manage/clients/{id} | Update client name |
DELETE | /manage/clients/{id} | Permanently delete a client |
Client secrets are only returned once at creation time and are never retrievable afterwards.
Creating a key with permissions
Pass scopes instead of type to create a key that can do only what it names (see permissions):
curl -X POST 'https://api.actuallytracking.com/manage/clients' \
-H 'actuallytracking-client-id: YOUR_CLIENT_ID' \
-H 'actuallytracking-client-secret: YOUR_CLIENT_SECRET' \
-H 'content-type: application/json' \
-d '{ "name": "Reporting", "projectId": "your-project", "scopes": ["analytics:read"] }'- With a
projectIdthe key works on that project. Set"organizationWide": true, or leave outprojectId, for a key that works on every project. - A key cannot create a key with permissions it does not have itself. A
rootclient has them all.
For full request/response schemas, see the API Reference.