# PATCH /websites/:website_id/site-facts

**Resource:** [Websites](./websites.md)  
**MCP tool:** `update_website_site_facts`  
**Scopes:** `websites:write`  
**Write operation:** yes

Change the facts a website shows that live nowhere else in the workspace: service areas, extra locations, licence line, real team members, numbers and memberships, how each proof section is filled (auto shows real details or hides the section, so nothing made up goes live), search engine verification codes, whether AI assistants may read the site, the site's country, its own name, phone, email or address when they differ from the workspace's, and whether it is live (go_live). Only the fields passed change. Phone, email, address, legal name, ABN, logo and social links are the workspace's own details (change those on the workspace); opening hours are the workspace's hours. Returns the launch checklist, as get_website_launch.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes | The website id, from list_websites. |
| `areas` | body | array | no | Suburbs or regions the business serves, e.g. ["Balmain", "Rozelle"]. Replaces the list. Shown on the site and read by search engines. |
| `locations` | body | array | no | Extra places the business works from, beyond the workspace address. Replaces the list. |
| `licence` | body | string | no | Licence or registration line for the footer, e.g. "Lic. 123456C". Empty text removes it. |
| `team` | body | array | no | Real team members for the team section (shown when team_from is auto). Replaces the list. |
| `stats` | body | array | no | Real numbers for the numbers section, e.g. [{"value":"15","label":"Years in business"}] (shown when stats_from is auto). Replaces the list. |
| `badges` | body | array | no | Real memberships and accreditations, e.g. ["Master Plumbers NSW"] (shown when badges_from is auto). Replaces the list. |
| `reviews_from` | body | string | no | How the reviews section is filled. auto: the real reviews TrustPager holds (collected reviews first, then the Google listing), hidden when there are none. own: keep the reviews written on the site (only when they are real). hide: never shown. |
| `team_from` | body | string | no | How the team section is filled: auto (the team given here, hidden when empty), own (what the site says) or hide. |
| `stats_from` | body | string | no | How the numbers section is filled: auto (the stats given here, hidden when empty), own or hide. |
| `badges_from` | body | string | no | How the memberships strip is filled: auto (the badges given here, hidden when empty), own or hide. |
| `google_verification` | body | string | no | The Google Search Console verification code (or the whole meta tag it came in). Put on every page so the owner can verify the site. Empty text removes it. |
| `bing_verification` | body | string | no | The Bing Webmaster Tools verification code (or its meta tag). Empty text removes it. |
| `ai_crawlers` | body | string | no | allow (default): AI assistants and AI search may read the site, and it publishes a summary written for them. block: they are asked not to. |
| `country` | body | string | no | The site's country when it differs from the workspace's (AU, NZ, US, GB, CA, IE, SG, ZA). Sets its language tag and currency. |
| `site_name` | body | string | no | This website's own business name, when it differs from the workspace name (a second brand). Empty text goes back to the workspace name. |
| `site_phone` | body | string | no | This website's own phone number, when it differs from the workspace's. Empty text goes back to the workspace phone. |
| `site_email` | body | string | no | This website's own email address, when it differs from the workspace's. Empty text goes back to the workspace email. |
| `site_address` | body | string | no | This website's own address in one line, when it differs from the workspace's. Empty text goes back to the workspace address. |
| `go_live` | body | boolean | no | true: the site is open, search engines may list it. false: back to draft, search engines are asked to wait. Run run_website_launch_check first. |
| `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 PATCH   "https://api.trustpager.com/functions/v1/api/v1/websites/:website_id/site-facts"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"areas":"...","locations":"...","licence":"..."}'
```

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