API Keys
Create and manage API keys for server-to-server integrations.
List keys
GET /api/v1/api-keys/
Authorization: Api-Key ek_live_...
Create a key
POST /api/v1/api-keys/
Content-Type: application/json
{
"name": "CI Pipeline",
"scopes": ["read", "write"],
"expires_at": "2027-01-01T00:00:00Z"
}
Important: The full key is only returned once in the creation response. Store it securely.
Revoke a key
DELETE /api/v1/api-keys/{key_id}/
Authorization: Api-Key ek_live_...
Key prefix
All API keys use the prefix ek_live_ (production) or ek_test_ (sandbox). The dashboard displays the last 4 characters for identification.