# POST /websites/:website_id/redirect-domains

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

Point a legacy or secondary domain at a live website as a redirect-only domain: it 301-redirects every visitor (and their path + query) cross-domain to the site, so retired URLs keep their SEO value instead of 404ing. Does NOT serve the site or touch its hosting. website_id is the TARGET site to redirect to. Returns the A/AAAA DNS records the domain owner adds at their registrar to point it at our redirect service. Use for domain consolidations, rebrands, or capturing traffic from an old domain.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes | The TARGET website the legacy domain should redirect to. |
| `redirect_domain` | body | string | yes | The legacy/secondary domain to redirect FROM, e.g. "oldbrand.com". |
| `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/redirect-domains"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"redirect_domain":"..."}'
```

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