API Keys
Atlas uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard.Making Authenticated Requests
Include your API key in theAuthorization header as a Bearer token:
Warning: Never expose your secret key in client-side code, public repositories, or client-side JavaScript. Use environment variables and server-side code to make API calls.
Idempotency
Use idempotency keys to safely retry requests without accidentally performing the same operation twice. Include theIdempotency-Key header with a unique value (e.g., order ID or UUID).
Rate Limits
The API is rate limited to ensure fair usage:
Rate limit headers are included in every response:
X-RateLimit-Limit- Maximum requests allowedX-RateLimit-Remaining- Requests remaining in current windowX-RateLimit-Reset- Unix timestamp when the limit resets