Endpoint
Authentication
Requires your publishable widget key in theAuthorization header:
Request Body
string
required
The action to perform. Must be
"enroll" or "remove".string
required
The user’s external ID (the same ID used with
/users/identify).string
required
The UUID of the series. Found in the dashboard URL when viewing a series (
/dashboard/outreach/{series_id}).string
JWT signed with your Identity Secret (HS256). Required when identity verification is enabled for your workspace. The token’s
user_id claim must match the user_id field above. See Identity Verification.Enroll a User
Enrolling a user adds them to the first step of the series. The system respects:- Send windows and business day constraints configured on the series
- Per-user timezone when available
- Re-enrollment rules (if enabled on the series, users can re-enter after completing it)
- Duplicate prevention via unique constraints
Example
Remove a User
Removing a user deletes all their pending recipient rows from the series, effectively stopping them from receiving any further emails. Emails that have already been sent are not affected.Example
Error Responses
Notes
- The user must be identified via the
/users/identifyendpoint before they can be enrolled in a series. Theuser_idmust match the external ID used during identification. - Enrollment respects the series’ scheduling rules. The
scheduled_fortimestamp in the response shows when the first email will be sent. - Removing a user only cancels pending (unsent) emails. Previously sent emails are unaffected.
- If the series has re-enrollment disabled and the user has already completed it, the enroll action returns a success response with a message explaining why re-enrollment is not possible.