---
title: "Add a domain to a video's whitelist"
method: PUT
path: "/videos/{video_id}/privacy/domains/{domain}"
tags: ["Videos\\Embed privacy"]
---

# Add a domain to a video's whitelist

`PUT /videos/{video_id}/privacy/domains/{domain}`

## Request

- Base URL: `https://api.vimeo.com`
- URL: `https://api.vimeo.com/videos/{video_id}/privacy/domains/{domain}`
- Auth: OAuth 2
  - Authorization code: `/oauth/authorize`, token URL `/oauth/access_token`
  - Client credentials, token URL `/oauth/authorize/client`
  - Scopes: `edit`
- TypeScript: <https://skmtc.dev/vimeo/apis/vimeo-api/docs/videos/:video_id/privacy/domains/:domain/put.ts> (a function with typed inputs; its response is checked against the schema)

This method adds the specified domain to a video's whitelist.

## Path parameters

- `domain` string, required
- `video_id` number, required

## Response `204`

The video is now embeddable on the domain.

## Other responses

- `403`: The video doesn't have a user-defined access list.

## Changes

- **2019-04-12** `80428f626f3e`: 2 info
  - api tag `Videos\Embed privacy` added
  - api tag `Videos\Embed Privacy` removed
- **2018-12-05** `26f856a94041`: 2 info
  - api tag `Videos\Embed Privacy` added
  - api tag `Videos\Embed privacy` removed

[Operation history](https://skmtc.dev/vimeo/apis/vimeo-api/changes/videos/:video_id/privacy/domains/:domain/put.md)

---

[API](https://skmtc.dev/vimeo/apis/vimeo-api.md) - [All operations](https://skmtc.dev/vimeo/apis/vimeo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vimeo/apis/vimeo-api/revisions/ea882e0224a4?raw)
