Docs
REST APICollectionsGet a collection GET

Get a collection

GET
/v1/collections/{id}

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
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://api.moviie.ai/v1/collections/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "name": "Product demos",
  "color": "sky",
  "description": "Demo videos for all products.",
  "is_default": true,
  "created_at": "2024-01-15T12:00:00.000Z",
  "updated_at": "2024-01-15T12:00:00.000Z",
  "_count": {
    "videos": 12
  }
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}