# POST /websites/:website_id/builder/messages

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

Ask the AI website builder to change a website, in plain words, the way an owner would: "add a testimonials section to the home page", "make the site feel more premium", "add an FAQ page", "change the phone number in the footer". It reads the site's code, edits it in the private draft and checks the page, then answers. Nothing goes live until publish_website_builder. Waits up to wait_seconds (default 110) for the answer; bigger requests can take 1 to 3 minutes, so when it is still working (status 202, working true) call get_website_builder with the request_id and wait_seconds. Each request uses AI credits.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes | The website UUID (from list_websites). |
| `text` | body | string | yes | The change, in plain words. Up to 4,000 characters. |
| `page` | body | string | no | Optional page the request is about, as a path such as "/" or "/about". |
| `image_urls` | body | array | no | Optional public image links (https) for the builder to place on the site, for example from upload_file. Up to 6. |
| `wait_seconds` | body | number | no | How long to wait for the answer, 0 to 110. Default 110. |
| `wait` | body | boolean | no | false to return straight away with the request_id instead of waiting. |
| `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/websites/:website_id/builder/messages"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"text":"...","page":"...","image_urls":"..."}'
```

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