مسودة: يصف هذا التوثيق أوكتا فيديو كما ستكون عند الإطلاق، وقد لا تكون بعض الميزات متاحة بعد.
OctaVideoالتوثيق

Create a collection

POST
/collections

Creates an empty collection in the library.

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.

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
name*string
Length1 <= length <= 100

Response Body

The new collection.

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