# POST /notepads/:notepad_id/deals

**Resource:** [Notepads](./notepads.md)  
**MCP tool:** `link_notepad_to_deal`  
**Scopes:** `notepads:write`  
**Write operation:** yes

Link a notepad to an opportunity.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `notepad_id` | path | string | yes |  |
| `deal_id` | body | string | yes |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/notepads/:notepad_id/deals"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"deal_id":"..."}'
```

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