Sequences API
Errors
Every error is a JSON object with a single error string:
{ "error": "<message>" }| Status | Meaning |
|---|---|
400 Bad Request | The body or a query parameter is invalid (the message names the step or field), an unknown asUserEmail, or a fromEmail that is not a verified sending identity |
401 Unauthorized | Missing, malformed, expired, or revoked API key |
403 Forbidden | The key lacks read:sequences or write:sequences, or lacks send:emails for a SEND-mode sequence |
404 Not Found | No sequence with that ID in this workspace, or an offeringId that is not in it |
409 Conflict | Enrolling into an archived sequence |
429 Too Many Requests | Rate limit exceeded |
Examples
{ "error": "steps.1: An EMAIL step needs both subject and bodyHtml." }{ "error": "This sequence sends email without approval (sendMode SEND), so the API key also needs the send:emails scope." }