Automations

Enroll contacts in an active automation

Adds contacts to an automation without waiting for the trigger: they enter at the start of the flow and the steps that send really send. Provide ONE audience among listId, segmentId and contactIds. Works only on active automations (409 on drafts and paused automations). Enrollment is asynchronous: the 202 says it was queued, per-contact outcomes are in the step log. A contact who is already enrolled is ignored (once-per-contact). Required scope: automations:write.

post/automations/{id}/enroll

Request

  • Base URL: https://sending.dev/api/v1
  • URL: https://sending.dev/api/v1/automations/{id}/enroll
  • Auth: HTTP bearer

Path parameters

idstring required

Automation ID.

Request body

listIdstring uuid
segmentIdstring uuid
contactIdsstring[]

Response

Enrollment queued.

idstring uuid required
queuedboolean required
audiencestring required

Changes

No recorded changes to this operation across all 1 revision of this API.