Campaigns

Replace the sequence

Replaces the WHOLE sequence tree of the campaign. Always GET the campaign first, modify the steps object and send the complete tree back. The campaign must not be RUNNING (pause it first). Missing step and version _ids are generated by the server; keep existing ids on a campaign that already ran, otherwise history, statistics and the position of contacts in the sequence are lost and contacts may receive steps again. Content is not validated here: empty email versions, missing subjects or audio are only reported by POST .../start.

patch/advanced/campaigns/{campaignId}/steps

Request

  • Base URL: https://api.emelia.io
  • URL: https://api.emelia.io/advanced/campaigns/{campaignId}/steps
  • Auth: API key in header Authorization

Path parameters

campaignIdstring required

MongoDB ObjectId: 24 hexadecimal characters.

Example:6650f1a2b839d80011c5a0f1

Identifier of a multichannel campaign (24 hexadecimal characters), as returned by POST /advanced/campaigns or GET /advanced/campaigns.

Request body

Response

Success.

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.