guarded

Configure autopilot

Turn the Discovery Autopilot on or off for one project, and/or set that project's commission offer drafts may promise. Autopilot runs for one project at a time: turning it on binds it to app_id (required until autopilot is bound to a project; default after that: the project it runs for). Turning it on starts the hourly proposal loop; new proposals wait for an approval unless the owner has set an auto mode on the Autopilot page. After the bounce breaker stopped the project's mailbox (get_autopilot's paused_reason for that project), turning it on for that project also clears that stop, restarts that mailbox's bounce count and resumes the campaigns the breaker paused for that mailbox, whose queued emails then send on the engine's schedule. Other mailboxes keep their stops, counts and paused campaigns. A stop whose mailbox was not recorded holds every project: turning autopilot on for any project clears it and restarts no count. Guarded: without approval_token it returns {error:"approval_required", approval_token, summary} for the user to confirm; call again with the token. Every dashboard guardrail still applies: this is exactly what a user clicking the dashboard could do, no more. GUARDED: requires the account's Unrestricted MCP setting; returns 403 {error:'restricted'} otherwise.

post/api/v1/tools/set_autopilot

Request

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

Request body

status'on' | 'off'

Omit to leave unchanged.

offerstring

The commission offer drafts may promise, e.g. "30% recurring". Omit to leave unchanged.

app_idstring uuid

Project id from list_apps. Omit for the project autopilot runs for; required while it is bound to none.

approval_tokenstring

Approval token from a previous approval_required response, after the user said yes.

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.