GET
/
collections
curl --request GET \
  --url https://api.trytldw.ai/v1/collections/ \
  --header 'Authorization: Bearer <token>'
{
  "collections": [
    {
      "id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
      "name": "Collection 1"
    },
    {
      "id": "a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6",
      "name": "Collection 2"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
Successful Response
collections
object[]
required
Example:
[
  {
    "id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
    "name": "Collection 1"
  },
  {
    "id": "a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6",
    "name": "Collection 2"
  }
]