Skip to content

Pagination

All list endpoints use cursor-based pagination. This approach is more efficient than offset-based pagination for large datasets and avoids the “shifting window” problem when records are added or removed.

ParameterTypeDefaultDescription
limitinteger25Number of items per page. Min: 1, Max: 100.
cursorstringCursor from a previous response to fetch the next page.

List responses include a meta object with pagination info:

{
"data": [ ... ],
"meta": {
"count": 25,
"hasMore": true,
"nextCursor": "cm5x9abc123"
}
}
FieldTypeDescription
countnumberNumber of items in the current page.
hasMorebooleantrue if more items exist after this page.
nextCursorstring | nullCursor to pass as the cursor parameter for the next page. null if no more pages.

To fetch all items, keep requesting the next page until hasMore is false:

Terminal window
# First page
curl "https://app.insigner.co/api/v1/documents?limit=10" \
-H "Authorization: Bearer isk_YOUR_API_KEY"
# Next page (using nextCursor from previous response)
curl "https://app.insigner.co/api/v1/documents?limit=10&cursor=cm5x9abc123" \
-H "Authorization: Bearer isk_YOUR_API_KEY"