Pause one enrollment
PUT /email_sequences/{uuid}/enrollments/{enrollmentUuid}/actions/pause
/email_sequences/{uuid}/enrollments/{enrollmentUuid}/actions/pausePauses one live enrollment: its next email waits until the enrollment is resumed. The rest of the sequence goes on.
When to use: To hold the emails to one person, for example because they asked for time, without removing them.
When not to use: To stop for good use exclude_email_sequence_enrollment. To stop the whole sequence use pause_email_sequence. To undo, resume_email_sequence_enrollment.
Side effects: The enrollment becomes paused, its next send time is cleared and nothing leaves for it until it is resumed. A paused entry with the person who acted is added to the activity. Nothing is sent.
Permissions: Requires the automations.work capability. Only the sender of the enrollment (the owner of the sequence's mailbox) or a user with the automations.manage capability can act on it; anyone else gets 403. A manager acts without access to the mailbox or to the contact.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the email sequence. Get it from list_email_sequences.
uuidUUID of the enrollment. Get it from list_email_sequence_enrollments.
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/email_sequences/b3f1c8a2-5d47-4e90-9a16-7c2e0d4f8b35/enrollments/1f7a3c9e-8b25-4d60-a4c1-5e2b9d6f0a78/actions/pause" \ -H "X-Auth-Token: YOUR_API_KEY"null