EEmailytDocumentationOpen dashboard →
API reference

Errors and retries

Emailyt returns structured JSON errors with a stable code, human-readable message, and request ID for support and tracing.

Error object

{
  "error": {
    "code": "sender_not_verified",
    "message": "The sender domain is not verified.",
    "requestId": "e41c2f6a-…",
    "docs": "https://emailyt.com/docs/api/errors"
  }
}

Validation failures additionally contain a fields object keyed by the invalid field. Log the request ID, status, and code—but never the API key or full email body.

HTTP status codes

400
Malformed JSON or invalid signed request. Correct the request before retrying.
401
missing_api_key or invalid_api_key. Supply an active server key.
403
sender_not_verified or live_sending_not_approved. Complete account setup.
404
The message or resource does not exist in this account.
409
Idempotency, ownership, subscription, or account resource conflict.
422
Validation, suppression, URL, domain, email, or limit parameter failure.
429
Sending or test allowance reached. Back off; do not rotate keys to evade limits.
500
Unexpected server error. Retry with the same idempotency key.
503
A gated service such as paid checkout is currently unavailable.

Common error codes

CodeRetry?Action
validation_failedNoCorrect the fields returned in error.fields.
recipient_suppressedNoDo not resend until the recipient is legitimately removed from tenant suppression.
idempotency_in_progressYesRetry the identical request and key after a short randomized delay.
idempotency_conflictNoThe same key was used with a different body. Investigate the caller.
sending_limit_reachedLaterWait for the enforced usage window or change the account plan when available.
test_sending_limit_reachedLaterWait for the hourly test window.
sender_not_verifiedNoVerify the From domain in the dashboard.
live_sending_not_approvedNoRequest production access after domain verification.

Retry policy

Retry connection failures, idempotency_in_progress, 429, and 5xx responses with bounded exponential backoff and jitter. Always reuse the original idempotency key and identical body.

Delivery outcome is asynchronous. A 202 response is successful API acceptance. Bounces, complaints, deferrals, and delivery arrive later through status lookup or webhooks.
Read the idempotency guide →