Key concepts
- API keys are created and managed through the Dashboard or these endpoints
- The raw key (
tp_live_...) is returned only once at creation time — store it securely - Keys are SHA-256 hashed before storage and cannot be retrieved later
- A key carries configurable permissions and agent access. Its organization field is only the home organization used for key management — at request time, a key’s data scope is resolved from the current organization memberships of the user who created it
- Key management is restricted to the
dev_adminrole, and only via JWT — a key cannot manage keys. Other roles (includingclient_admin) receive403 FORBIDDEN
Data model
Available permissions
Endpoints
List API keys
dev_admin— only keys they created themselves, across every organization those keys belong to
PATCH and DELETE: a key outside it responds 404 NOT_FOUND, whether it does not exist or belongs to someone else.
Create API key
organization_id is optional: it sets the key’s home organization and must be one of your memberships (otherwise 400 VALIDATION_ERROR). Without it, your profile organization is used.
Response includes the raw key (shown only once):
Update API key
Revoke API key
204 No Content
Permanently deletes the key. Any requests using this key will immediately receive 401 Unauthorized.
Key rotation workflow
- Create a new key with the same permissions
- Update your integration to use the new key
- Verify the integration works
- Delete the old key
Related resources
- Authentication — How API key auth works
- Settings — Dashboard key management UI