# POST /contacts/bulk-link

**Resource:** [Contacts](./contacts.md)  
**MCP tool:** `bulk_link_contacts`  
**Scopes:** `contacts:write`  
**Write operation:** yes

Link up to 100 existing contacts to companies in one request. Use this to repair an import whose contacts were created without their company, instead of calling add_contact_employer once per contact. Already-linked pairs come back under `skipped`, never as errors, so re-running is safe.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `records` | body | array | yes | Array of {contact_id, customer_id} pairs |
| `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/contacts/bulk-link"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"records":"...","require_approval":"..."}'
```

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