Skip to main content
POST
/
collections
Create a new collection
curl --request POST \
  --url https://api.trytldw.ai/v1/collections/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "collection_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Response

Successful Response

collection_id
string
required