Skip to content

Pagination

All list endpoints use cursor-based pagination with consistent ordering by ID.

ParameterTypeDefaultDescription
limitinteger25Records per page (max 100)
afterstringCursor from previous response

Every list response includes a page object:

{
"data": [...],
"page": {
"limit": 25,
"has_more": true,
"next_cursor": "142"
}
}
Terminal window
# First page
curl "https://api.visihub.app/api/v1/books/contacts?limit=10" \
-H "Authorization: Bearer vk_..."
# Next page — use next_cursor as the after parameter
curl "https://api.visihub.app/api/v1/books/contacts?limit=10&after=142" \
-H "Authorization: Bearer vk_..."

Continue fetching pages until has_more is false.