API Keys
API keys authenticate all requests to the Leap0 API. Each key is scoped to an organization and grants full access to sandboxes, templates, and snapshots within that organization.
Create an API key
Section titled “Create an API key”Create API keys in the Leap0 Dashboard. Navigate to Settings > API Keys and click Create Key.
Supported headers
Section titled “Supported headers”Pass your API key in either of these headers. The Bearer prefix is optional.
| Header | Example |
|---|---|
authorization | Bearer <api_key> or <api_key> |
leap0-authorization | Bearer <api_key> or <api_key> |
Use leap0-authorization when the authorization header is already consumed by another layer (e.g. a proxy, gateway, or a service running inside the sandbox).
Organization scope
Section titled “Organization scope”API keys are scoped to a single organization. All resources created with a key (sandboxes, templates, snapshots) belong to that organization. Keys cannot access resources in other organizations.
See Limits for all organization quotas.