# PUT /websites/:website_id/hero

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

Change the first screen of the home page of a website made from a design: classic (the design's own), booking (Live booking), enquiry (Quick enquiry), callback (Call me back), gift (Free gift), chat (Ask us anything), reviews or product (Featured product). Only heroes the website's design offers (list_website_designs) are accepted. Saved to the live website, which rebuilds in a minute or two; when the website builder has unpublished changes to the site's settings, it is saved with them instead and goes live when they are published. Until what a hero needs exists (a product in the store, a rating, the business phone number, a booking type, a switched-on guide, website chat) the live site shows Quick enquiry in its place.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes | UUID of the website. Get ids from list_websites. |
| `hero` | body | string | yes | Hero id from list_website_designs that this website's design offers: classic (the design's own), booking, enquiry, callback, gift, chat, reviews or product. |
| `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/hero"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"hero":"...","require_approval":"..."}'
```

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