cURL
curl --request POST \ --url https://api.opus.pro/api/collections \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "collectionName": "Opus demo clips" } '
{ "data": { "collectionId": "xmAwhhFi0IJt", "collectionName": "Opus demo clips", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
You can create collections to organize your clips by making a POST request to https://api.opus.pro/api/collections
POST
https://api.opus.pro/api/collections
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the collection that you want to create.
"Opus demo clips"
Show child attributes
The unique collection ID.
"xmAwhhFi0IJt"
The name of the collection that you have created.
The date and time the collection was created.
The date and time the collection was updated.
Was this page helpful?