Get a published version of an email sequence
GET /email_sequences/{uuid}/versions/{revision}
/email_sequences/{uuid}/versions/{revision}Reads the frozen content of one published version of a sequence: its steps, schedule, sender and exit rules exactly as they were published.
When to use: To see what contacts enrolled in that version actually receive (the revision of an enrollment says which), or to compare with the draft.
When not to use: To read the draft you are editing use get_email_sequence. To list the revisions that exist read versions there.
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.
uuidRevision number of the version, starting at 1. See versions in get_email_sequence.
1 <= valueResponse 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/versions/2" \ -H "X-Auth-Token: YOUR_API_KEY"{ "sequence": "/entity/1", "revision": 1, "published_at": "2019-08-24T14:15:22Z", "published_by": "9ac9eee7-2153-423d-b22d-04e12679154a", "email_count": 0, "wait_count": 0, "threading": true, "schedule": { "time_zone": "string", "weekdays": [ "string" ], "start": "string", "end": "string" }, "exit_on_meeting": true, "exit_on_reply": true, "sender": { "mailbox": "ba8efdb9-b4c4-43cf-965e-5da7040913a7", "address": "string", "signature": "88fef6f3-fdb6-486d-87e1-c7ae0750df94", "signature_name": "string" }, "steps": [ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "kind": "email", "subject": "string", "html": "string", "unsubscribe": { "language": "string", "template_id": "irrelevant", "prefix": "string", "link_label": "string" }, "variables": [ { "tag": "string", "fallback": "string", "required": true } ], "attachments": [ { "asset_uuid": "76807d23-a41c-4ee1-a173-773f47fc22c8", "filename": "string", "size_bytes": 0, "mime_type": "string" } ], "days": 1 } ]}