POST
/
collections
curl --request POST \
  --url https://api.trytldw.ai/v1/collections/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "New Collection"
}'
{
  "collection_id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l"
}

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
Example:

"New Collection"

Response

200
application/json
Successful Response
collection_id
string
required
Example:

"c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l"