Emails API
Errors
| Status | Meaning |
|---|---|
400 Bad Request | Invalid body or query, a From that is not a sending identity, an attachment with both or neither of contentBase64 and url, or an asUserEmail that is not a workspace member |
401 Unauthorized | Missing, malformed, or revoked API key |
403 Forbidden | API key lacks the scope: read:emails, write:emails, send:emails, read:communications or write:communications |
404 Not Found | No such email, contact or draft in this workspace |
409 Conflict | The email is not a DRAFT (delete, send), or the draft has no recipient address (send) |
429 Too Many Requests | Rate limit exceeded |
502 Bad Gateway | Send was attempted and the mailbox provider rejected it; see email.error |
Every error body is { "error": "<message>" }.