Skip to Content
ColdVenue API
Campaign leads

Add existing leads to a campaign

Enrolls leads by id, or every lead of the given lists. Leads already in the campaign are skipped. **Required scope:** `campaigns:write`

POST
/api/v1/campaigns/{campaignId}/leads

Enrolls leads by id, or every lead of the given lists. Leads already in the campaign are skipped.

Required scope: campaigns:write

Authorization

apiKey
headerAuthorizationBearer <token>

A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.

Path Parameters

campaignId*string
Match^[a-f0-9]{24}$

Request Body

application/json
  1. body
leadIds?array<>
Items1 <= items <= 5000
listIds?array<>
Items1 <= items <= 50

Response Body

Default Response

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.coldvenue.in/api/v1/campaigns/string/leads' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "added": 0,    "skipped": 0  }}