Campaigns
Get a campaign
**Required scope:** `campaigns:read`
GET
Required scope: campaigns:read
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}$Default Response
application/json- response
data*curl -X GET 'https://api.coldvenue.in/api/v1/campaigns/string'Example Response200
{ "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", "leadStatusCounts": { "property1": 0, "property2": 0 }, "sequenceStateCounts": { "property1": 0, "property2": 0 } }}Set a subsequence’s trigger PUT
Changes when leads move into the subsequence. `campaignId` is the subsequence. **Required scope:** `campaigns:write` **Plan feature:** Subsequences
Update a campaign PATCH
Changes the name, sending schedule, daily limits or options (tracking, stop on reply…). **Required scope:** `campaigns:write`