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
Saves the whole sequence at once. A/B variants need the A/B testing plan feature.
Required scope: campaigns:write
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}$application/json- body
steps*array<>Items
1 <= items <= 30version?integerRange
-9007199254740991 <= value <= 9007199254740991Default Response
application/json- response
data*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" ] }}