APICampaigns

List campaign enrollments

Returns the contacts enrolled in a campaign, newest first, with each one's status, the step they have reached, when the next step is due, and why sending is on hold (`pausedReason`) when it is. Filter by `status` or `contactIds` to check on specific people.

GET
/v1/campaigns/{id}/enrollments

Returns the contacts enrolled in a campaign, newest first, with each one's status, the step they have reached, when the next step is due, and why sending is on hold (pausedReason) when it is. Filter by status or contactIds to check on specific people.

X-Api-Key<token>

In: header

Path Parameters

id*string

Query Parameters

status?string

Only return enrollments in this status, for example scheduled, enrolled, active, paused, completed, bounced, unsubscribed or failed.

contactIds?string

Comma-separated contact ids (at most 100) to return enrollments for.

limit?integer

Page size (default 50, at most 200).

offset?|

Enrollments to skip, for paging.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/enrollments"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "contactId": "b5ec5d98-4bee-4da1-ad24-dde86346cb1d",
      "status": "string",
      "pausedReason": "string",
      "currentStepNumber": 0,
      "nextSendAt": "string",
      "enrollmentSource": "string",
      "enrolledAt": "string",
      "scheduledAt": "string",
      "updatedAt": "string",
      "contact": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "first_name": "string",
        "last_name": "string",
        "email": "string"
      }
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}