Skip to main content
POST
Start an enrolment run
Queues up to 5000 prospects and returns immediately with a run_id. Poll the run for progress. Validation of the sequence, the owner and the source happens before queueing, so a 4xx means the request was wrong rather than that enrolment failed halfway.

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings -> Connections & API. A missing or invalid key returns HTTP 403.

Body

application/json
user_id
string
required

The team member this call acts as. Must be an active member of the team the API key belongs to.

Example:

"507f1f77bcf86cd799439011"

sequence
string
required

The sequence to enrol into.

source
object
required
owner_id
string

Who owns the resulting enrollments. Defaults to user_id.

force_include
string[]

Prospect keys from a preview to add despite a rule blocking them. They are held for approval, not waved through.

Response

Success.

A background enrolment.

run_id
string
Example:

"enroll_1a2b3c4d"

status
enum<string>
Available options:
queued,
fetching,
running,
completed,
failed,
cancelled
sequence
string

24-character hexadecimal id.

Example:

"507f1f77bcf86cd799439011"

total
integer
processed
integer
enrolled
integer
skipped_count
integer
held_count
integer
truncated
boolean
sample_skipped
object[]

A sample of refusals with reasons.

error
string | null
finished_at
string<date-time> | null