Skip to content
NTOMA
Esc
↑↓navigate↵open⌘Jpreview

Get all collections belonging to a user

GET/api/collections
Authorization
AuthorizationBearer token (JWT) · headerrequired
Query parameters
pagenumber
min 0 · default: 0
perPagenumber
min 1 · max 100 · default: 10
qstring
scopestringrequired
Header parameters
x-organization-idstring
Target organization id. Defaults to the caller's personal organization when omitted.
Responses
200OK
any
400Bad Request
any
500Internal Server Error
any
Try it
Server
Authorization
Parameters
Request
curl -X GET "http://localhost:8000/api/collections?scope=string" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
[
  {
    "id": "CLq4Wm7x1P",
    "title": "My Collection",
    "userId": "CRa7Bk9x2Q"
  },
  {
    "id": "CLt5Vm2x0K",
    "title": "Another Collection",
    "userId": "CRa7Bk9x2Q"
  }
]