---
title: "Get Trusted Preview Hosts"
method: GET
path: "/settings/preview-hosts"
tags: ["Settings"]
---

# Get Trusted Preview Hosts

`GET /settings/preview-hosts`

Returns the hostname patterns trusted to embed previews for the current team. Organization child teams inherit the parent organization’s hosts.

## Response `200`

Response for status 200

- TrustedPreviewHosts
  - `hosts` string[], required — Canonicalized hostname patterns trusted to embed previews. Exact hosts match only themselves; *.example.com matches exactly one subdomain label; **.example.com matches one or more subdomain labels. Wildcards do not include the apex, so list example.com separately when it should also be trusted.

## Other responses

- `401` — Response for status 401
- `403` — Response for status 403
- `404` — Response for status 404
- `500` — Response for status 500

---

[API](https://skmtc.net/vercel/apis/v0-platform-api-beta.md) · [All operations](https://skmtc.net/vercel/apis/v0-platform-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/v0-platform-api-beta/revisions/7c7a496f8022/schema)
