Easymailing
Email sequences

List email sequences

GET /email_sequences

GET/email_sequences

Lists the email sequences of the account, most recently edited first, with their state, number of emails and waits, running enrollments and published sender.

When to use: To find a sequence by name or state before reading, editing, publishing or enrolling contacts in it, or to see which sequences are active.

When not to use: To read the steps of one sequence use get_email_sequence: the list leaves them out. To see who is enrolled in a sequence use list_email_sequence_enrollments. For marketing emails to an audience use list_campaigns; for event-driven flows use list_automations.

Filters: All filters are optional and combine with AND.

  • search: part of the title, case-insensitive; surrounding spaces are ignored (up to 120 characters).
  • status: only sequences in that state. Without it, archived sequences are NOT listed (ask for status=archived to see them); a sequence paused for commercial review (commercial-paused) is always listed. Sorting: fixed, last edited first; there is no order parameter. Pagination: page and itemsPerPage (default 25, maximum 100), like the rest of the API; the response gives the total in hydra:totalItems.

Permissions: Requires the automations.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Query Parameters

search?string

Part of the title of the sequence, case-insensitive. Up to 120 characters.

Lengthlength <= 120
status?string

Only sequences in this state. Without it, archived sequences are not listed.

Value in

  • "draft"
  • "active"
  • "paused"
  • "archived"
  • "commercial-paused"
page?integer

Page number, starting at 1.

Range1 <= value
Default1
itemsPerPage?integer

Sequences per page. Default 25, maximum 100.

Range1 <= value <= 100
Default25

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/email_sequences?search=demo&status=active&page=1&itemsPerPage=25" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "title": "string",    "untitled": true,    "status": "draft",    "published_revision": 0,    "unpublished_changes": true,    "email_count": 0,    "wait_count": 0,    "active_enrollment_count": 0,    "total_days": 0,    "last_activity_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z",    "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",    "published_sender": {      "mailbox": "ba8efdb9-b4c4-43cf-965e-5da7040913a7",      "address": "string",      "signature": "88fef6f3-fdb6-486d-87e1-c7ae0750df94",      "signature_name": "string"    },    "can_enroll": true  }]