Skip to main content
POST
Draft or critique copy for a campaign step

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Fixed request contract consumed by the campaign step editor.

channel
string
required
Minimum string length: 1
action_type
string | null
sender_profile_id
string<uuid> | null
campaign_name
string | null
instruction
string | null
merge_fields
string[] | null
existing_copy
ExistingCopy · object | null

Existing campaign-step copy that should be critiqued when its body is non-blank.

sequence_context
SequenceStepContext · object[] | null
step_index
integer | null

Zero-based index of the sequence step being generated.

Required range: x >= 0

Response

Successful Response

Drafted campaign-step copy and optional critique findings.

channel
string
required
subject
string | null
required
body
string
required
mode
enum<string>
required
Available options:
compose,
critique
findings
Finding · object[]
required