Errors

Every error is JSON:

{
  "code": "not_found",
  "error": "Campaign not found",
  "time": "2026-11-10T20:00:00.000Z",
  "requestId": "6f1c2b0e-3a1d-4d1e-9f7a-2a3b4c5d6e7f"
}

Codes

Code HTTP Meaning
missing_parameter 400 A required parameter is missing.
invalid_argument 400 A parameter has an invalid value.
missing_dependent_data 400 A referenced object (for example a campaign) was not found or is not yours.
invalid_state 400 The object is in the wrong state for this action (for example an archived campaign).
exceeds_monthly_recipients 400 The request would pass your monthly recipient limit.
too_many_push_subscriptions 400 The team has the maximum number of push subscriptions.
sending_paused 400 Sending is paused for this account.
confirmation_required 400 A risky action needs explicit confirmation.
not_authorized 400 / 403 You are not allowed to take this action.
invalid_api_key 401 The API key is invalid.
invalid_token 401 The OAuth access token is invalid or expired.
missing_scope 401 The token lacks a required scope; the message names it.
missing_team_admin 401 The team has no active admin for the key to act as.
unauthorized_request 401 No credentials were sent.
client_not_found 403 The API client could not be found.
app_not_approved 403 This OAuth app is not approved for other teams yet.
app_not_enabled 403 This API client is disabled.
user_not_admin 403 The authorizing user must be a team admin.
user_is_disabled 403 The user is disabled.
team_blocked 403 The team is blocked.
missing_subscription 403 The team has no active subscription.
expired_subscription 403 The team's subscription has expired.
sender_limit_reached 403 No mailbox seats left.
not_found 404 Not found, or not yours.
unsupported_operation 404 No such operation.
already_exists 400 That object already exists.
sender_already_exists 409 That mailbox is already connected; integrationID points to it.
idempotency_conflict 409 The idempotency key was used with a different request.
limit_reached 429 The hourly quota is spent. See rate limits.
rate_limited 429 Too many requests per second.
unspecified_error 400 An error without a specific code.
internal_error 500 Something went wrong on our side. Retry, and quote the requestId if it persists.

The full list, including OAuth and mailbox-connection codes, is in the Error.code enum of the reference.