API ERRORS

401 Invalid API key

https://sealdeal.ai/errors/invalid-api-key

The key presented does not resolve to a live key. A malformed key and an unknown-but-well-formed key both return this identical response, deliberately, so the API cannot be used to probe which key prefixes exist.

Retry only after changing the request

What causes it

  • The key was revoked.
  • It was copied with surrounding whitespace or truncated.
  • It is a key from a different environment.

How to fix it

  • Mint a fresh key at /admin/integrations/api-keys and replace it in your integration.
  • Call GET /api/v1/me first when wiring up: it needs no scope and confirms auth on its own.

Example response

HTTP/1.1 401
Content-Type: application/problem+json

{
  "type": "https://sealdeal.ai/errors/invalid-api-key",
  "title": "Invalid API key",
  "status": 401,
  "detail": "..."
}

`type` is stable and safe to branch on in code. `detail` is specific to your request and is the field to read for the particulars; its wording may change.

All error types · API documentation · Integrations

Related errors: 401 Missing API key · 401 API key expired · 401 API key has no actor