Pagination

List endpoints use cursor pagination.

Cursor pagination

Requests may include limit and cursor. Responses may include next_cursor when another page exists.

The cursor is opaque. Clients should send it back unchanged with the same endpoint and filters used for the previous page.

curl "https://api.slab5.com/v1/tasks?status=open&limit=25" \
  -H "Authorization: Bearer $SLAB5_API_KEY"

curl "https://api.slab5.com/v1/tasks?status=open&limit=25&cursor=$NEXT_CURSOR" \
  -H "Authorization: Bearer $SLAB5_API_KEY"

When next_cursor is absent, the list has no additional page.

Was this page helpful?