Docs
REST APIEmbedsGet an embed GET

Get an embed

Returns one embed with snippets, rules, placements, and recent metrics.

Returns one embed with snippets, rules, placements, and recent metrics.

GET
/v1/embeds/{embedId}

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

embedId*string

Embed UUID.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.moviie.ai/v1/embeds/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "embedId": "8971aebf-fca4-4062-b2a4-87771d70de31",
  "name": "string",
  "status": "active",
  "defaultVideo": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "title": "string",
    "durationMs": 0,
    "thumbnailUrl": "string"
  },
  "embedCode": "string",
  "nativeSnippet": "string",
  "stats30d": {
    "views": 0,
    "plays": 0,
    "playRate": 0
  },
  "placements": [
    {
      "url": "string",
      "domain": "string",
      "plays30d": 0,
      "lastSeenAt": "string"
    }
  ],
  "rules": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "type": "geo",
      "status": "active",
      "priority": 0,
      "condition": {
        "property1": null,
        "property2": null
      },
      "targetVideoId": "9eed6b8d-4736-43e1-ba81-f2293af90e78",
      "variants": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "label": "string",
          "targetVideoId": "9eed6b8d-4736-43e1-ba81-f2293af90e78",
          "weightPercent": 0,
          "status": "active"
        }
      ],
      "createdAt": "string",
      "updatedAt": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string",
  "lastSwappedAt": "string"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}