Docs
REST APIVideosGet embed code GET

Get embed code

Returns the iframe embed code and embed ID for a video.

GET
/v1/videos/{id}/embed

Authorization

BearerAuth
AuthorizationBearer <token>

Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.

In: header

Path Parameters

id*string

Video UUID.

Formatuuid

Response Body

application/json

curl -X GET "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/embed"
{
  "embedId": "8971aebf-fca4-4062-b2a4-87771d70de31",
  "embedCode": "string",
  "currentVideoId": "deebee3d-730d-4501-b33f-e9ba07780ab0",
  "updatedAt": "string"
}