List the activity of an email sequence
GET /email_sequences/{uuid}/activity
/email_sequences/{uuid}/activityLists what happened in a sequence, newest first: contacts enrolled, emails sent, replies and other exits, pauses and resumptions, failures and retries, and changes of state of the sequence.
When to use: To audit a sequence or an enrollment: who enrolled whom and when, what was sent, why someone left. Pass enrollment to see the history of one contact.
When not to use: For the current state of each contact use list_email_sequence_enrollments; for totals, get_email_sequence_statistics. It is not the activity of a contact record (see list_activities), which also includes emails and meetings outside the sequence.
Filters: All filters are optional and combine with AND.
type: only events of that type.enrollment: only the events of that enrollment; an enrollment of another sequence gives an empty page. Sorting: fixed, newest first. Pagination:pageanditemsPerPage(default 25, maximum 100); the response gives the total inhydra:totalItems.
Permissions: Requires the automations.read capability. Names and addresses of recipients are returned only to users who also have the contacts.read capability; without it privacy is aggregate and they are null. The linked email of a sent email or of a reply is returned only if the user may read that mailbox.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the email sequence. Get it from list_email_sequences.
uuidQuery Parameters
Only events of this type.
Value in
- "enrolled"
- "email_sent"
- "exited"
- "completed"
- "paused"
- "resumed"
- "failed"
- "retried"
- "commercial_paused"
- "reactivated"
- "archived"
- "restored"
UUID of an enrollment: only its events.
uuidPage number, starting at 1.
1 <= value1Events per page. Default 25, maximum 100.
1 <= value <= 10025Response Body
application/problem+json
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/activity?type=email_sent&enrollment=1f7a3c9e-8b25-4d60-a4c1-5e2b9d6f0a78&page=1&itemsPerPage=25" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "type": "enrolled", "reason": "string", "occurred_at": "2019-08-24T14:15:22Z", "actor": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "name": "string" }, "enrollment": "a520e15d-bb50-4cbd-bf35-9d2cb1df7235", "contact": "/entity/1", "contact_name": "string", "recipient_email": "string", "email_position": 1, "privacy": "full", "email": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "access": "metadata_only", "content_state": "index_only", "subject": "string", "snippet": "string", "preview": "string", "sender_name": "string", "sender_address": "string", "recipient_name": "string", "recipient_address": "string", "recipient_others": 0, "attachment_count": 0 } }]