default

Update campaign settings

Change a DRAFT campaign's setup, as Finish setup saves it: name, offer, daily limit, sending days and hours, timezone and follow-up gaps. Fields you omit keep their value. Live campaigns refuse (not_a_draft): rename them with rename_campaign and edit copy with update_campaign_sequence. Nothing is sent.

post/api/v1/tools/update_campaign_settings

Request

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

Request body

campaign_idstring uuid required

A campaign id from list_campaigns.

namestring
offerstring

The commission the emails promise, e.g. "30% recurring".

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.