Draft: these docs describe OctaVideo as it will be at launch; some features may not be live yet.
OctaVideoDocs
API referenceCollections

Add videos to a collection

POST
/collections/{collectionId}/videos

Adds 1 to 100 videos of the library to a collection. Video IDs must be unique within the request.

Authorization

AccessKey
headerAccessKey<token>

The private key of a library, starting with ovk_. Copy it from API & embeds in the console, keep it on your server, and rotate it there if it leaks.

Path Parameters

collectionId*string

ID of the collection.

Formatuuid

Header Parameters

AccessKey*string

The library's private key. Same value as the AccessKey security scheme; listed here so code samples include it.

Request Body

application/json
  1. body
video_ids*array<>
Items1 <= items <= 100

Response Body

The updated collection.

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.octavideo.tech/api/v1/collections/3c7a9e21-5b4d-4f8e-a1c2-7d9e0f1a2b3c/videos' \  -H 'AccessKey: ovk_YOUR_LIBRARY_PRIVATE_KEY' \  -H 'Content-Type: application/json' \  -d '{  "video_ids": [    "6f1c2b9e-4a7d-4f3e-9b8a-2d5c7e1f0a34"  ]}'
Example Response
{  "data": {    "id": "3c7a9e21-5b4d-4f8e-a1c2-7d9e0f1a2b3c",    "name": "Arabic grammar, level 1",    "video_ids": [      "6f1c2b9e-4a7d-4f3e-9b8a-2d5c7e1f0a34"    ],    "created_at": "2026-10-25T09:30:00Z"  }}