Skip to main content
API key management endpoints. These endpoints require Supabase JWT authentication (Dashboard login), not API key authentication.

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
  • Each key is scoped to one organization with configurable permissions and agent access

Data model

Available permissions

Endpoints

List API keys

Auth: JWT only Returns all keys for the current user’s organization. Key values are never returned — only the prefix.

Create API key

Auth: JWT only
Response includes the raw key (shown only once):

Update API key

Auth: JWT only Update name, permissions, rate limits, or active status. The key value cannot be changed.

Revoke API key

Auth: JWT only | Returns 204 No Content Permanently deletes the key. Any requests using this key will immediately receive 401 Unauthorized.

Key rotation workflow

  1. Create a new key with the same permissions
  2. Update your integration to use the new key
  3. Verify the integration works
  4. Delete the old key