Skip to main content
POST
Enroll leads into a campaign

Authorizations

Authorization
string
header
required

A ManyPI API key (mpi_...) from Settings → API keys, or an OAuth 2.1 access token obtained through the MCP consent flow.

Body

application/json
campaign_id
string<uuid>
required
lead_ids
string<uuid>[]
required
Required array length: 1 - 1000 elements

Response

Enrollment outcome.

Skips are reported as separate counters rather than a single skipped total with a reasons map. Add the four skip counters together for the number of leads that were not enrolled.

enrolled
integer

Leads whose first step was queued.

skipped_no_email
integer

Leads with no email address.

skipped_suppressed
integer

Addresses on the do-not-contact list, or already unsubscribed.

skipped_invalid
integer

Addresses already known to be undeliverable.

already_enrolled
integer

Leads already enrolled in this campaign.

queued_for_validation
integer

Unchecked addresses sent for validation first, when the brand has validate-on-enroll turned on. These are not yet enrolled.