Dropline · Docs

Errors

One error shape everywhere. Switch on the code, show the message.

Shape

Error

{
  "error": {
    "code": "send_daily_limit",
    "message": "You’ve reached today’s sending limit. It resets at midnight GMT.",
    "details": { "resetAt": "2026-10-31T00:00:00.000Z" }
  }
}

message is written for people and may change. Your code should switch on code. details is optional and depends on the error.

Codes

HTTPCommon codes
400validation_failed (details.issues lists the fields), invalid_address, send_too_many_recipients, send_message_too_large, webhook_url_invalid, idempotency_key_invalid, mailbox_unknown
401unauthorized: missing, invalid or expired token
403insufficient_scope, plan_no_send, plan_limit_webhooks, domain_not_verified (sending from a domain whose MX, SPF or DKIM don’t check out), mailbox_receive_only, mailbox_suspended, mailbox_disabled
404not_found
409mailbox_not_ready: the mailbox is still being created
429rate_limited (API calls), send_daily_limit, send_hourly_limit, send_new_recipient_limit; a Retry-After header when known
5xxinternal, ai_unavailable (never for mail operations)

View this page as Markdown