SpecinboxDocs
← Dashboard

Errors

The error envelope and every error type.

Every non-2xx response, on both the API key and dashboard bases, uses the same envelope:

{
  "error": {
    "type": "rate_limited",
    "message": "10 requests per second per key",
    "request_id": "req_8fJ1h9mQx2Av7Z04"
  }
}

param is present only for a field-specific invalid_request. Every response, success or error, also carries a Request-Id header matching error.request_id — include it when you ask for help.

TypeStatusWhen
invalid_request400Bad JSON, a bad field (param names it), or a bad cursor
unauthenticated401Missing, invalid, revoked or expired key or token
insufficient_scope403The key lacks the route's required scope
ip_not_allowed403The key has an IP allowlist and the caller isn't on it
account_suspended403The org is suspended
forbidden403Role too low, or a test-only route called with a live key
email_unverified403Dashboard: signed in with an unverified e-mail
totp_required403Dashboard: a 2-step code is missing (or not enrolled)
totp_invalid403Dashboard: the 2-step code was wrong or already used
limit_reached403A count cap: inboxes, keys, webhooks, domains or seats
plan_limit403The feature isn't on your plan (e.g. IP allowlist, a custom domain)
not_found404Unknown id, another org's id, or the wrong mode's id
conflict409An idempotent request is still in progress, or a duplicate
use_portal409Checkout attempted while already subscribed
billing_unavailable409Billing isn't configured yet
payload_too_large413Request body over 64 KB
idempotency_mismatch422Same Idempotency-Key, different request
recipient_not_allowed422Send: the address isn't an active inbox in your own org/mode
rate_limited429Per-second token bucket is empty — see Retry-After
quota_exceeded429Monthly request cap reached — see Retry-After
server_error500Unexpected error on our side
unavailable503The database is unreachable or not configured