API Keys
Your API key authenticates event ingestion requests. Each account has one active API key at a time. You can retrieve it and rotate it (issuing a new key and immediately invalidating the old one) at any time. All endpoints require a valid JWT session token.Get your API key
Returns your current active API key.Authentication
Example
Response
Rotate your API key
Generates a new API key and immediately deactivates the previous one. All ingestion requests using the old key will begin failing instantly.Authentication
Example
Response
Status codes
Best practices
- Rotate proactively if you suspect your key has been exposed.
- Store keys in environment variables or a secrets manager, never in source code.
- Update all services that use the old key before or immediately after rotating, since the old key stops working instantly.