API Reference
Errors
The API uses standard HTTP status codes and returns errors in a consistent JSON format.
Status codes
200Success201Created400Bad Request401Unauthorized403Forbidden (missing scope)404Not Found409Conflict (idempotency mismatch)422Validation Error429Rate Limited500Internal ErrorError shape
All error responses share the same JSON structure with a top-level error object containing a machine-readable code and a human-readable message.
{
"error": {
"code": "NOT_FOUND",
"message": "Event not found"
}
}Common errors
Invalid API key (401)
Check that your key is active and the Bearer prefix is included in the Authorization header.
Missing scope (403)
Your key doesn't have the required scope for this endpoint. Check the endpoint documentation for the required scope and update your key in the manage portal.
Rate limited (429)
Wait for the retryAfter timestamp, then retry. See the Rate Limits page for details on tier allowances.