Documentation
Errors
Stable error envelope and common API errors.
Errors use a stable envelope. code is machine-readable;message is safe to surface to operators.
error envelope
{
"error": {
"code": "domain_not_verified",
"message": "sender domain is not verified; complete DNS setup first",
"details": { "status": "PENDING" }
}
}401 invalid_api_key
Key missing, revoked or malformed
403 domain_not_owned
From domain is not in this workspace
403 domain_not_verified
DNS verification incomplete
409 idempotency_conflict
Key reused with a different body
429 quota_exceeded
Monthly plan limit reached
Need the full API surface? OpenAPI 3.1.