Pagination
How cursor-based list pagination works.
Last updated 2026-07-22
List endpoints return a page of results with an opaque cursor for the next page:
{
"data": [ /* … */ ],
"nextCursor": "eyJpZCI6Ii4uLiJ9",
"hasMore": true
}
Requesting a page
limit— how many results to return (default 25, max 100).cursor— thenextCursorfrom the previous response.
curl "https://app.exaledger.com/v1/invoices?limit=50" \
-H "Authorization: Bearer exl_live_YOUR_KEY"
curl "https://app.exaledger.com/v1/invoices?cursor=eyJpZCI6Ii4uLiJ9" \
-H "Authorization: Bearer exl_live_YOUR_KEY"
Notes
- Results are ordered newest-first.
- The cursor is opaque — pass it back exactly as received; do not construct it.
- When
hasMoreisfalse,nextCursorisnulland you've reached the end. - A malformed cursor returns
400 invalid_cursor.
