UNAUTHORIZED
The request is missing a valid API key.
HTTP status: 401
What it means
The request is missing a valid API key.
Why it happens
- The
Authorizationheader is missing or malformed (expectedAuthorization: Bearer am_live_...). - The API key does not exist, was revoked, or its owner was deleted.
How to fix it
- Send
Authorization: Bearer <your API key>on every request. - Create or roll keys in the dashboard; keys are shown once at creation.
- The response is identical for every failure mode by design — it never reveals whether a key exists.
Example
Every non-2xx response uses the same envelope; path (when present) is the exact JSON path of the offending field, and requestId identifies the request in support conversations:
See the error index for the full catalog and the API overview for envelope semantics.