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
| Code | Retry? | Action |
|---|---|---|
| validation_failed | No | Correct the fields returned in error.fields. |
| recipient_suppressed | No | Do not resend until the recipient is legitimately removed from tenant suppression. |
| idempotency_in_progress | Yes | Retry the identical request and key after a short randomized delay. |
| idempotency_conflict | No | The same key was used with a different body. Investigate the caller. |
| sending_limit_reached | Later | Wait for the enforced usage window or change the account plan when available. |
| test_sending_limit_reached | Later | Wait for the hourly test window. |
| sender_not_verified | No | Verify the From domain in the dashboard. |
| live_sending_not_approved | No | Request 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
Read the idempotency guide →202 response is successful API acceptance. Bounces, complaints, deferrals, and delivery arrive later through status lookup or webhooks.