Easymailing
Email sequences

Retry the failed email of an enrollment

PUT /email_sequences/{uuid}/enrollments/{enrollmentUuid}/actions/retry

PUT/email_sequences/{uuid}/enrollments/{enrollmentUuid}/actions/retry

Retries the step that blocked an enrollment in technical-error: the failed email is queued again with the same content.

When to use: When an enrollment shows technical-error after an email failed to send (for example the mailbox was disconnected or Gmail refused it) and the cause is fixed.

When not to use: It only works on an enrollment in technical-error. If the email should not go at all, use exclude_email_sequence_enrollment. It does not retry emails of other enrollments.

Side effects: THIS CAN MAKE AN EMAIL LEAVE: the failed email is put back in the send queue after the answer and sent by the background workers, subject to the schedule window and the limits. A retried entry with the person who acted is added to the activity.

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.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the email sequence. Get it from list_email_sequences.

Formatuuid
enrollmentUuid*string

UUID of the enrollment. Get it from list_email_sequence_enrollments.

Formatuuid

Response 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/retry" \  -H "X-Auth-Token: YOUR_API_KEY"
null