---
title: External linking
description: Restrict or allow outbound link hosts used by the site. The PUT body is a list of domain strings.
---

Read allowed external domains.

```
GET /api/v1/{locale}/{websiteId}/external-linking
```

Replace the allow list (website superadmin).

```
PUT /api/v1/{locale}/{websiteId}/external-linking
```

```json
{
  "domains": ["example.com", "cdn.example.com"]
}
```

MCP: get_external_linking, update_external_linking.
