default

Create website campaign draft

Create a DRAFT campaign for sites from list_websites (one project), with the website sequence autopilot's affiliate lane sends unless you pass steps, and an optional schedule. The copy must pass the same check enrolment runs (rendered for a sample site: no links, bare domains, stock phrases, unknown tokens or empty offer), else nothing is created. 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. DRAFT ONLY: nothing is enrolled or sent; launch_campaign (guarded) starts it.

post/api/v1/tools/create_website_campaign_draft

Request

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

Request body

site_idsstring[] required

Site ids from list_websites, all in one project.

namestring
offerstring

The commission the emails promise, e.g. "30% recurring". Default: the program commission in App settings.

daily_limitinteger

Most emails this campaign sends a day. The mailbox's own daily cap still applies.

daysstring[]

Sending days. Default Mon to Fri.

hour_frominteger

Window start hour, 24h, in timezone. Default 9.

hour_tointeger

Window end hour, exclusive. Default 17.

timezonestring

IANA timezone, e.g. "Europe/London". Default America/New_York.

followup_gaps_daysinteger[]

Day offset of each follow-up from step 1, e.g. [4,14,28,42].

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.