Check if an email sequence can be published
GET /email_sequences/{uuid}/validation
/email_sequences/{uuid}/validationLists the problems of the SAVED draft that would stop it from being published, with exactly the rules of the publication (and the sender check for the user who asks). An empty list means it can be published.
When to use: After update_email_sequence_draft and before publish_email_sequence, to fix every problem in one go instead of one rejected publication at a time.
When not to use: It reads the saved draft, not what you are about to send: save first. It does not publish anything; to publish use publish_email_sequence.
Permissions: Requires the automations.read capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the email sequence. Get it from list_email_sequences.
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/email_sequences/b3f1c8a2-5d47-4e90-9a16-7c2e0d4f8b35/validation" \ -H "X-Auth-Token: YOUR_API_KEY"{ "sequence": "/entity/1", "issues": [ { "code": "string", "severity": "error", "step_uuid": "36cbcda5-79a6-4bf3-8e09-f04e24f64b58" } ]}