Docs
REST APIEmbedsCreate an embed POST

Create an embed

Creates a reusable embed frame. The default video is optional.

Creates a reusable embed frame. The default video is optional.

POST
/v1/embeds

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.moviie.ai/v1/embeds" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "embedId": "8971aebf-fca4-4062-b2a4-87771d70de31",
  "name": "string",
  "status": "active",
  "defaultVideoId": "1fc80da3-abad-4a7e-9c13-3b0a19f8acc2",
  "embedCode": "string",
  "createdAt": "string"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}