Sales Engine
API documentation
CampaignsOperation campaigns.updateStep

Edit a campaign step

Edit a step: purpose, notes, the day it sends, plain or rich body per variant (subject_a, body_a, body_html_a, content_mode). Shape fields lock after launch.

PATCH/api/v1/campaigns/{id}/steps/{step}
Scope write: Create and edit lists, research, sequences, campaigns, memory, signals and learning; queue jobs.

Parameters

Path

NameInDescription
idrequiredpathThe record's id.
steprequiredpathThe step number, counted from 1.

No body. Send the fields you want to change as a JSON object; the record's own fields apply.

Example

curl
curl -X PATCH "https://crm.ashwanth.dev/api/v1/campaigns/{id}/steps/{step}" \
  -H "Authorization: Bearer $SALES_ENGINE_API_KEY"
CLI
sales-engine campaigns update-step <id> <step>

Response

A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.

Shape
{
  "data": { ... }
}

Run it below to see the live shape for your workspace.

Try it

Runs against this server, as the workspace behind the key.
Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
required
The record's id.
required
The step number, counted from 1.
Request
PATCH /api/v1/campaigns/%7Bid%7D/steps/%7Bstep%7D
Fill the path first.

Also in Campaigns