default

Update campaign sequence

Edit one step of a campaign's email sequence (subject, body, delay), as the dashboard's email editor does; on a live campaign the change applies to every enrolled recipient's next unsent step. Follow-ups always reply in step 1's thread as Re: plus its subject, so subject is for step 1 only. Website copy must pass the check enrolment runs (no links, bare domains, stock phrases, unknown tokens or empty offer), else nothing is saved. Website copy personalises with tokens such as {{greeting}}, {{opener}}, {{tease_pitch}}, {{offer_pitch}} and {{signoff}}: get_campaign shows a campaign's templates and preview_campaign_step renders one for a site.

post/api/v1/tools/update_campaign_sequence

Request

  • Base URL: https://www.affiliatespy.io
  • URL: https://www.affiliatespy.io/api/v1/tools/update_campaign_sequence
  • Auth: HTTP bearer

Request body

campaign_idstring uuid required

A campaign id from list_campaigns.

stepinteger required

The step to edit, 1 for the opener.

subjectstring

Step 1 only.

bodystring

The body template, with {{tokens}}.

delay_daysinteger

Days after step 1 this step is due (step 1 goes at enrolment).

confirmboolean

Set true after the user confirmed an action the guard flagged as hard to undo.

Response

The tool's JSON result (same payload the MCP tool returns).

unknown required

Changes

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