Prepare your leads array
Each lead object requires an
Here’s an example leads array with three contacts ready for enrollment:
email field. All other fields are optional but recommended — they power the {{firstName}}, {{company}}, and {{jobTitle}} personalization tokens in your sequence steps.| Field | Required | Description |
|---|---|---|
email | ✅ | Primary identifier; used for deduplication |
firstName | Recommended | Maps to {{firstName}} token |
lastName | Optional | Maps to {{lastName}} token |
company | Recommended | Maps to {{company}} token |
jobTitle | Optional | Maps to {{jobTitle}} token |
customFields | Optional | Key-value object for custom tokens |
Send the bulk upsert
Post your leads array to
POST /v1/campaigns/:id/leads/bulk, replacing :id with the campaign ID from your campaign creation step. Leadterra will enroll each lead and resolve any personalization tokens against their fields.Verify enrollment
A successful response reports how many leads were enrolled and how many were updated rather than newly created.If a lead with the same email address already exists in the campaign, Leadterra updates their record with any new field values instead of creating a duplicate entry. The
updated count reflects these upserts, and the lead’s position in the sequence is preserved — they won’t receive any step they’ve already been sent.The skipped count covers addresses that appear on your workspace suppression list and were silently excluded from enrollment.Start the campaign
If the campaign isn’t already running, start it now with You can also add more leads to a campaign that’s already
POST /v1/campaigns/:id/start. Leadterra will immediately begin queueing the first sequence step for every enrolled lead.running — they’ll be enrolled and queued immediately.Every personalization token in your sequence steps — like
{{firstName}} or {{company}} — must have a matching field on the lead object. If a field is missing, the token renders as an empty string. Always verify your leads array includes the fields your copy depends on before enrolling.