cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"New Collection"
Successful Response
"c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l"
Was this page helpful?