Sequences
Unenroll
Cancel active sequence runs for contacts.
POST /api/v1/sequences/:id/unenroll
Cancel active runs for one or more contacts, removing them from the sequence. Only affects runs with status pending, running, or paused.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contactIds | string[] | Yes | Contact UUIDs to unenroll (max 500) |
Example
curl -X POST /api/v1/sequences/SEQUENCE_ID/unenroll \
-H "x-api-key: mndr_..." \
-H "Content-Type: application/json" \
-d '{
"contactIds": ["contact-uuid-1"]
}'{
"cancelled": 1,
"contactIds": ["contact-uuid-1"]
}If a contact has no active run, they are silently skipped (not included in the contactIds array, and cancelled count is not incremented).