Campaign leads
Add leads to a campaign by email
Creates leads that don’t exist yet and enrolls them, with options to skip people already contacted. **Required scopes:** `leads:write` and `campaigns:write`
POST
Creates leads that don’t exist yet and enrolls them, with options to skip people already contacted.
Required scopes: leads:write and campaigns:write
apiKeyheader
AuthorizationBearer <token>A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.
campaignId*stringMatch
^[a-f0-9]{24}$application/json- body
entries*array<>Items
1 <= items <= 5000skipIfIn*verify?booleanDefault
falseDefault Response
application/json- response
data*curl -X POST 'https://api.coldvenue.in/api/v1/campaigns/string/leads/manual' \ -H 'Content-Type: application/json' \ -d '{ "entries": [ { "email": "string" } ], "skipIfIn": { "campaigns": true, "lists": true, "workspace": true }}'Example Response200
{ "data": { "added": 0, "created": 0, "skipped": { "workspace": 0, "campaigns": 0, "lists": 0, "other": 0, "invalid": 0, "overLimit": 0 }, "invalidEmails": [ "string" ] }}Add existing leads to a campaign POST
Enrolls leads by id, or every lead of the given lists. Leads already in the campaign are skipped. **Required scope:** `campaigns:write`
Remove leads from a campaign POST
Stops the sequence for these enrolments. The leads stay in your workspace. **Required scope:** `campaigns:write`