Campaigns
Create a campaign
Creates a draft campaign. Add its sequence, sending accounts and leads, then a member launches it from the app: API keys can’t start, pause or resume sending. **Required scope:** `campaigns:write`
POST
Creates a draft campaign. Add its sequence, sending accounts and leads, then a member launches it from the app: API keys can’t start, pause or resume sending.
Required scope: campaigns:write
apiKeyheader
AuthorizationBearer <token>A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.
application/json- body
name*stringLength
1 <= length <= 200Default Response
application/json- response
data*curl -X POST 'https://api.coldvenue.in/api/v1/campaigns' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response201
{ "data": { "id": "string", "name": "string", "kind": "campaign", "parentCampaignId": "string", "trigger": { "type": "status_changed", "statuses": [ "NEW" ] }, "status": "DRAFT", "schedule": { "timezone": "string", "days": [ 1 ], "startTime": "string", "endTime": "string", "startDate": "string", "endDate": "string" }, "limits": { "dailyLimit": 1, "newLeadsPerDay": 0 }, "options": { "stopOnReply": true, "stopOnAutoReply": true, "trackOpens": true, "trackClicks": true, "unsubscribeHeader": true, "textOnly": true }, "accountIds": [ "string" ], "leadCount": 0, "lastError": { "code": "string", "message": "string", "at": "string" }, "startedAt": "string", "pausedAt": "string", "completedAt": "string", "createdAt": "string", "updatedAt": "string" }}