Skip to main content
Secure your API requests with API keys.

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 the Authorization 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 the Idempotency-Key header with a unique value (e.g., order ID or UUID).
Idempotency keys expire after 24 hours.

Rate Limits

The API is rate limited to ensure fair usage: Rate limit headers are included in every response:
  • X-RateLimit-Limit - Maximum requests allowed
  • X-RateLimit-Remaining - Requests remaining in current window
  • X-RateLimit-Reset - Unix timestamp when the limit resets