Skip to Content
ColdVenue API
Campaigns

Replace a campaign’s sequence

Saves the whole sequence at once. A/B variants need the A/B testing plan feature. **Required scope:** `campaigns:write`

PUT
/api/v1/campaigns/{campaignId}/sequence

Saves the whole sequence at once. A/B variants need the A/B testing plan feature.

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
steps*array<>
Items1 <= items <= 30
version?integer
Range-9007199254740991 <= value <= 9007199254740991

Response Body

Default Response

application/json
  1. response
data*
Example Request
curl -X PUT 'https://api.coldvenue.in/api/v1/campaigns/string/sequence' \  -H 'Content-Type: application/json' \  -d '{  "steps": [    {      "type": "email"    }  ]}'
Example Response200
{  "data": {    "steps": [      {        "id": "string",        "type": "email",        "threadMode": "reply",        "variants": [          {            "id": "string",            "subject": "string",            "body": "string",            "weight": 0,            "enabled": true          }        ]      }    ],    "version": 0,    "warnings": [      "string"    ]  }}