# POST /opportunities/:id/spreadsheets/:spreadsheetId

**Resource:** [Opportunities](./opportunities.md)  
**Scopes:** `opportunities:write`, `spreadsheets:read`  
**Write operation:** yes

Attach an existing spreadsheet to an opportunity. Legacy alias: POST /deals/:id/spreadsheets/:spreadsheetId. Matching MCP tool: add_opportunity_spreadsheet.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | uuid | yes | Opportunity ID |
| `spreadsheetId` | path | uuid | yes | Spreadsheet ID to attach |

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