Sequences

Retrieve an enrollment

Changed on

Returns one person's place in a sequence: status, next step and when it goes out, and the steps already sent with their delivery and engagement.

get/sequences/{sequence_id}/enrollments/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

sequence_id, string required

The sequence's prefixed id (e.g. seq_abc123).

id, string required

The enrollment's prefixed id (e.g. seqen_abc123).

Response

The enrollment

EmailSequenceEnrollment required
object, 'sequence_enrollment' required
id, string required
sequence, string required
contact, string required
email, string required
status, 'pending_confirmation' | 'active' | 'completed' | 'unsubscribed' | 'suppressed' | 'purchased' | 'excluded' | 'replied' | 'canceled' | 'contact_deleted' | 'sequence_deleted' | 'failed' required
source, string required

What enrolled them: api, or the event name (lead.created, contact.tag_added, contact.field_changed, order.paid, custom.<name>).

next_step, string nullable required
next_send_at, string date-time nullable required

When the next step goes out, after send days are applied. Null once the enrollment stops or while it waits for double opt-in.

started_at, string date-time nullable required
last_sent_at, string date-time nullable required
ended_at, string date-time nullable required
deliveries, EmailSequenceDelivery[] required

Steps sent to this person, oldest first.

created_at, string date-time required
updated_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    2 more changes in this revision