# POST /websites/:website_id/deploy/domain/retry

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

Revive a custom domain that the hosting provider has stopped serving, when get_website_domain_status reports "recoverable": true for a host. Restarts verification in place where possible, and only as a last resort briefly detaches and re-attaches the domain (a short outage on an otherwise-working site). Rate limited to once per 24 hours per website, because each attempt consumes part of the certificate allowance for that domain. Do NOT call this on a domain that is merely pending - pending resolves on its own once DNS propagates.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes |  |
| `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/deploy/domain/retry"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"require_approval":"..."}'
```

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