---
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

## Changes

> 34 revisions in range; 5 could not be searched.

- **2026-07-30** `da68370a2aea` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vercel/apis/v0-platform-api-beta/changes/settings/preview-hosts/get.md)

---

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