Errors / api_key_not_found

API key not found

HTTP 404invalid_requestapi_key_not_found

No key with that id on this account.

What to do

List your keys to get current ids. A revoked key is gone; it cannot be un-revoked.

What it looks like

{
  "error": {
    "type": "invalid_request",
    "code": "api_key_not_found",
    "message": "…",
    "doc_url": "https://docs.textmast.com/errors/api_key_not_found",
    "request_id": "req_01j8xk2p7n4qc3m9v0wz5bt6ay"
  }
}

Quote the request_id if you get in touch. It is on every response, including this one, and it turns a support email into a single log query rather than an archaeology exercise.