ESTAGE Support
IdeasMy tickets

Take a contact out of the flow

Permission automations:enrollRate limit writesIdempotent with Idempotency-Key

Ends the contact's active or waiting run as exited. removed is the number of runs ended: 1, or 0 when the contact was not in the flow.

DELETEhttps://api.estage.com/v1/automations/{id}/contacts/{contactId}

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired
contactIdintegerrequired

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
curl --request DELETE \
  --url 'https://api.estage.com/v1/automations/automation-id/contacts/contact-id' \
  --header 'ESTAGE-API-Key: est_live_your-api-key' \
  --header 'Idempotency-Key: your-unique-key'
OK
{
  "data": {
    "removed": 1
  }
}
Example. Errors are { error: { code, message, details } }.