Core concepts
Pagination
Lists come a page at a time. Follow next_cursor until has_more is false and you have every object.
Parameters
Every paged list takes the same two parameters, next to its own filters.
- limitintegerHow many objects a page holds at most, from 1 to 100. Defaults to 25. Notifications take 50 at most, 20 by default.
- cursorstringThe
next_cursorof the page before. Leave it out for the first page.
The list object
- objectstringAlways
list. - dataarrayThe page's objects.
- has_morebooleanTrue when there is a page after this one.
- next_cursorstring or nullThe cursor of the next page, null on the last one.
Response200
{
"object": "list",
"data": [
{
"id": "Ms8kL2QpXz",
"object": "member",
"email": "sam@example.com",
"name": "Sam Carter",
"first_name": "Sam",
"last_name": "Carter",
"user_id": "Us4kP9xQ2M",
"status": "active",
"type": "recurring",
"tier": {
"id": "tier1",
"name": "Inner Circle"
},
"price": {
"id": "pR8sK2xLmQ",
"amount": 29,
"currency": "usd",
"interval": "month"
},
"payments_count": 3,
"joined_at": "2026-09-02T18:41:07.000Z",
"cancel_at": null,
"canceled_at": null,
"affiliate_id": null
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0wMlQxODo0MTowNy4wMDBaIn0"
}Loop through every page
Always loop on has_more and next_cursor, never on the number of objects a page holds. The loops here fetch every active member of the Sublaunch.
- Keep the same filters on every page. A cursor only works with the Sublaunch and the filters it was made for, otherwise the answer is 400
cursor_invalid. - Cursors are opaque. Never build or change one.
- A list goes 10 000 objects deep at most. To read further, narrow it, with
sinceanduntilfor example. - Some lists come whole in one page, like tiers, categories, accesses, courses, coupons and the team. Their
has_moreis always false.
curl -G https://api.sublaunch.com/v1/members \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-d status=active \
-d limit=100
# The next page, with the next_cursor of the one before
curl -G https://api.sublaunch.com/v1/members \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-d status=active \
-d limit=100 \
-d cursor=eyJ0IjoiMjAyNi0wOS0wMlQxODo0MTowNy4wMDBaIn0