# POST /agency/onboarding-invites/:invite_id/prepare

**Resource:** [Agency](./agency.md)  
**MCP tool:** `prepare_agency_onboarding_workspace`  
**Scopes:** `agency:write`  
**Write operation:** yes

Read the opportunity again (its calls, notes and needs analysis) and redo the website, Google and ABN lookups for an open invite, e.g. after a new call or after adding their website to the Company. Runs in the background (a minute or so); get_agency_onboarding_invite shows opportunity_read and the results. At most 4 reads per invite. Your earlier keep and remove calls on rows that are found again stay.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `invite_id` | path | string | yes | An open invite |
| `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/agency/onboarding-invites/:invite_id/prepare"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"require_approval":"..."}'
```

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