Move to collection
Moves one or more videos into a specified collection.
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
curl -X POST "https://api.moviie.ai/v1/videos/move-to-collection" \ -H "Content-Type: application/json" \ -d '{ "videoIds": [ "01170a22-f5b0-4090-a78c-cd6880c32ddd" ], "collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50" }'{
"success": true,
"movedCount": 0,
"collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50",
"collectionName": "string"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}