---
title: "Embed code and watch link for a video"
method: GET
path: "/v1/videos/{videoId}/embed"
tags: ["Embeds"]
---

# Embed code and watch link for a video

`GET /v1/videos/{videoId}/embed`

## Request

- Base URL: `https://api.dropl.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dropl.io/v1/videos/{videoId}/embed`
- Auth: HTTP bearer

Requires the `embed:read` scope (get embed codes).

## Path parameters

- `videoId` string, uuid, required

## Response `200`

Success

- VideoEmbed
  - `videoId` string, uuid, required
  - `publicId` string, required
  - `html` string, required
  - `watchUrl` string, uri, nullable, required
  - `embeddable` boolean, required
  - `notes` string[], required

## Other responses

- `400`: Validation failed
- `401`: `INVALID_API_KEY`: missing, invalid, expired, or revoked key
- `403`: `INSUFFICIENT_SCOPE` (names the missing scope), `SITE_RESTRICTED_KEY`, or a plan limit
- `404`: Not found, or outside the key's sites
- `429`: Rate limited

---

[API](https://skmtc.dev/dropl/apis/dropl-public-api.md) · [All operations](https://skmtc.dev/dropl/apis/dropl-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dropl/apis/dropl-public-api/revisions/8a42e1f968d4?raw)
