# PUT /websites/:website_id/google-listing

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

Connect the Google listing the owner confirmed (name, maps_url and place_id as find_website_google_listing gave them), or disconnect it (remove true). Its star rating, review count and a few recent reviews are read from the listing itself and shown wherever reviews_from is auto; the workspace also gets its "leave a review" link (and, with use_hours true, the listing's opening hours) when it has none of its own. Reading the listing counts towards the 10 Google reads a day per website. 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. |
| `place_id` | body | string | no | The listing's place_id, from find_website_google_listing. Makes the link customers leave a review with. |
| `name` | body | string | no | The listing's name, as find_website_google_listing returned it. |
| `maps_url` | body | string | no | The listing's Google Maps link, as find_website_google_listing returned it (or pasted by the owner). |
| `category` | body | string | no | Its business type on Google, e.g. "Plumber". |
| `use_hours` | body | boolean | no | true: also take the listing's opening hours as the workspace's opening hours, when the workspace has none. |
| `remove` | body | boolean | no | true disconnects the Google listing from this website. |
| `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 PUT   "https://api.trustpager.com/functions/v1/api/v1/websites/:website_id/google-listing"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"place_id":"...","name":"...","maps_url":"..."}'
```

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