Add websites to campaign
add_websites_to_campaignAdd sites to a campaign, as Add to campaign on the Websites tab does. A draft only grows its audience (nothing sends until launch). An active or paused campaign ENROLS them now through the enrol gate: a site needs a contact email, a clean review, status new or prospect, no earlier contact by either product, no opt-out or bounce, and must not be a competitor's or your own site; enrolled sites get the campaign's first email on the engine's schedule, window and daily cap (a paused campaign once resumed). Counts say why sites were skipped. Campaigns written for creators refuse websites. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_ids | Yes | Site ids from list_websites, in the campaign's project. | |
| campaign_id | Yes | A campaign id from list_campaigns. | |
| approval_token | No | Approval token from a previous approval_required response, after the user said yes. |