# POST /marketing/campaigns/:campaign_id/links

**Resource:** [MARKETING](./marketing.md)  
**MCP tool:** `link_marketing_campaign_item`  
**Scopes:** `marketing:write`  
**Write operation:** yes

Tie existing work to a campaign so its results count: a tracked link, social post, email blast, cold outreach campaign, Lead Gen initiative, Meta campaign, form, booking type, lead magnet, A/B test, Training Playbooks card, named lead source, opportunity or website. The record must be in this workspace and readable by this connection. Linking the same thing twice returns the existing link.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `campaign_id` | path | string | yes | The campaign id (from list_marketing_campaigns). |
| `item_type` | body | string | yes | What is being linked: shortlink (a tracked link (list_shortlinks)); social_post (a social media post); email_blast (an email blast); cold_outreach (a cold outreach campaign (its campaign id)); lead_gen_initiative (a Lead Gen initiative); meta_campaign (a Meta ads campaign (its Meta campaign id)); form (a form); booking_type (a booking type); lead_magnet (a lead magnet); ab_test (an A/B test); playbook_card (a Training Playbooks card that this campaign is evidence for); lead_source (a named lead source (list_named_lead_sources): its opportunities count for the campaign); opportunity (one opportunity credited to the campaign); website (a website or landing page). |
| `item_id` | body | string | yes | Its id: the record's uuid, or for meta_campaign and cold_outreach the provider's campaign id. |
| `label` | body | string | no | A name to show for it. Defaults to the record's own name. |
| `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 POST   "https://api.trustpager.com/functions/v1/api/v1/marketing/campaigns/:campaign_id/links"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"item_type":"...","item_id":"...","label":"..."}'
```

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