Skip to main content
POST
/
api
/
collections
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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://help.opus.pro/llms.txt

Use this file to discover all available pages before exploring further.

Collection Schema

Reference the underlying collection object returned by collection APIs.

Create Collection Response

View the full response schema for creating a collection.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
collectionName
string
required

The name of the collection that you want to create.

Example:

"Opus demo clips"

Response

data
object
required