Skip to Content
ColdVenue API
Campaigns

Create a subsequence

**Required scope:** `campaigns:write` **Plan feature:** Subsequences

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

Required scope: campaigns:write

Plan feature: Subsequences

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
name*string
Length1 <= length <= 200
trigger*||||

Response Body

Default Response

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.coldvenue.in/api/v1/campaigns/string/subsequences' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "trigger": {    "type": "status_changed",    "statuses": [      "NEW"    ]  }}'
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"  }}