# PATCH /cold-outreach/campaigns/:campaign_id

**Resource:** [COLD_OUTREACH](./cold-outreach.md)  
**MCP tool:** `cold_outreach_update_campaign`  
**Scopes:** `lead-gen:write`  
**Write operation:** yes

Change a cold email campaign: name, steps (the whole list replaces the old one, footer re-added), mailboxes, schedule, limits, tracking. Only the fields sent are changed. Pause a running campaign before changing its steps.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `campaign_id` | path | string | yes | The campaign id (from cold_outreach_list_campaigns) |
| `name` | body | string | no | Campaign name |
| `steps` | body | array | no | The emails in order: the first email, then follow-ups with delay_days |
| `mailboxes` | body | array | no | Cold email mailboxes that send this campaign (see cold_outreach_list_mailboxes) |
| `timezone` | body | string | no | Sending timezone, e.g. Australia/Melbourne (Sydney uses the same clock). Default: the workspace timezone. |
| `days` | body | array | no | Sending days, default mon to fri |
| `from_time` | body | string | no | Sending window start, 24-hour HH:MM, default 09:00 |
| `to_time` | body | string | no | Sending window end, HH:MM, default 17:00 |
| `start_date` | body | string | no | Optional first sending day, YYYY-MM-DD |
| `daily_limit` | body | number | no | Most cold emails the campaign sends per day across its mailboxes (keep each mailbox at 30 to 50) |
| `stop_on_reply` | body | boolean | no | Stop emailing a lead once they reply (default true) |
| `open_tracking` | body | boolean | no | Track opens (default false: tracking pixels hurt deliverability) |
| `link_tracking` | body | boolean | no | Track link clicks (default false) |
| `text_only` | body | boolean | no | Send as plain text (default false; pictures need HTML) |
| `gift_lead_magnet_id` | body | string | no | Their free gift: a Lead Magnet with a Made for you block and link security (pin_required) off, since a cold email cannot carry a PIN. Before each lead joins the campaign, TrustPager makes their gift and their own page ({{gift}} in the emails), charged as each gift is made (see get_gift price); a gift that asks its own questions is made once the lead answers them on their page. A lead not in the CRM stays out of it. Empty string for no gift. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/cold-outreach/campaigns/:campaign_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name":"...","steps":"...","mailboxes":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`