Update Custom Domain
update_domainUpdate settings on a verified custom domain: set as default, configure a custom 404 redirect URL, or toggle link cloaking. Requires Pro or higher. Domain must be active (verified).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "update_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to update, e.g. "links.yourbrand.com" | |
| is_default | No | When true, makes this the default custom domain for new links | |
| cloak_links | No | When true, enables link cloaking for all links on this domain | |
| custom_not_found_url | No | Redirect visitors to this URL when a short code is not found (must be http/https). Pass null to reset to awsys.co default. |