Create an API key
Send aPOST request with a name, environment, permission scopes, and an optional expiry date.
The response includes the raw key value in a field such as
key or rawKey. This value is not retrievable again after this response. Store it in a secrets manager (such as AWS Secrets Manager, HashiCorp Vault, or your CI/CD platform’s secret store) before proceeding.
Use an API key in requests
Pass the key in theX-API-Key header on every request that requires authentication.
cURL
Do not include API keys in query parameters or request bodies. Always use the
X-API-Key header to keep the key out of server access logs and browser history.List your API keys
Retrieve metadata for all API keys associated with your account. The raw key value is never returned in this response — only key IDs, names, environments, scopes, and status.cURL
Rotate a key
Rotating a key invalidates the current key value and issues a new one under the same key ID. Use rotation on a regular schedule or immediately if you suspect a key has been exposed.cURL
Revoke a key
Revoking a key disables it without deleting it. A revoked key cannot be used to authenticate requests, but its record remains visible in your key list.cURL
Delete a key
Permanently removes the key and its metadata from your account. This action cannot be undone.cURL