# PATCH /our-company/referral-settings

**Resource:** [Company](./company.md)  
**MCP tool:** `update_referral_settings`  
**Scopes:** `company:write`  
**Write operation:** yes

Set the workspace referral form and/or referrer portal. referral_form_template_id is a form_templates UUID (the public form referrers/clients submit to start a referral; get ids from list_form_templates); referrer_portal_template_id is a portal_templates UUID (the portal a referrer logs into; get ids from list_portal_templates). Pass either or both; pass null to clear one.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `referral_form_template_id` | body | string | no | form_templates UUID of the workspace referral form, or null to clear. |
| `referrer_portal_template_id` | body | string | no | portal_templates UUID of the referrer portal, or null to clear. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/our-company/referral-settings"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"referral_form_template_id":"...","referrer_portal_template_id":"..."}'
```

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