Overview
Authentication depends on the API surface:Public API
Requires API key.Preferred header:
x-evento-api-keyEmbed API
No authentication required.CORS-enabled for browser access.
Public API headers
Primary option:Examples
Error responses
401 unauthorized
Returned when the API key is missing, invalid, or revoked:- Missing
x-evento-api-keyheader - Invalid API key format
- Revoked or expired API key
403 forbidden
Returned when the key is valid but missing required permissions:429 too many requests
Returned when you exceed the rate limit (1,000 requests/day):Best practices
Use environment variables
Store API keys in environment variables, never hardcode them
Server-side only
Use keyed requests from trusted backend environments only.
Implement retry logic
Use exponential backoff when retrying failed requests
Handle errors gracefully
Always check for 401 and 429 responses and handle them appropriately
CORS notes (Embed API)
Embed API includes permissive CORS headers:Testing authentication
Use this simple request to verify your API key is working:Next steps
Get /events/{eventId}
Public event details and guest-list endpoints.
Embed API
No-auth endpoints for browser embeds.