Errors
The API key is unknown or revoked
The `invalid_api_key` error: HTTP 401 Unauthorized.
The Authorization header holds a key the API doesn't know, one that was revoked or expired, or one whose IP allowlist doesn't include the caller's address. Check the key in the partner dashboard, or leave the header out: every route works without a key, at the anonymous limits.
| Field | Value |
|---|---|
code | invalid_api_key |
status | 401 Unauthorized |
title | The API key is unknown or revoked |
The API answers every error with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is invalid_api_key. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/invalid_api_key",
"title": "The API key is unknown or revoked",
"status": 401,
"code": "invalid_api_key",
"requestId": "4bf92f3577b34da6a3ce929d0e0e4736"
}requestId is the request's ID, the same as its Request-Id header: send it with any question to support.