Add people to a campaign
add_leads_to_campaignAdd up to 100 people to one of your campaigns by LinkedIn profile URL. Each person goes through the same checks as a dashboard import: invalid URLs, your do-not-contact list, the campaign's exclusion list and duplicates are refused and reported per person. If the campaign passes already-connected people to a Nurture campaign, those people go there instead (moved_to_campaign_id in their result); anyone that campaign will not take, for example someone already in another campaign, is refused with that campaign named. Nothing happens on LinkedIn at the moment you call this. ZenMode's campaign engine works through each campaign later, inside your daily and weekly limits, business hours and pacing. If the account is restricted, paused for the week, cooling down or switched off, the call is refused with the reason and when it lifts, and nothing changes. If the account has only used today's allowance, the change is accepted and the response says it will be worked through once the limit resets. Calls that only stop outreach (remove, pause, exclude, not interested) are never refused. An idempotency_key makes a retried call a no-op.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leads | Yes | ||
| campaign_id | Yes | The campaign id, from list_campaigns. | |
| idempotency_key | No | Optional. A unique string you make up for this exact change (8 to 128 letters, digits, - _ . :). If the call is repeated with the same key and the same arguments within 24 hours, nothing happens twice and the first result is returned again. Use a fresh key for every new change. |