Skip to content
VoiceMint Developers

Pagination

How list endpoints page through results with skip and limit.

List endpoints return a page of results:

json
{"items": [{"id": "..."}, {"id": "..."}], "total": 137}

Ask for the next page with skip (how many to skip) and limit (page size; each endpoint documents its maximum, typically 200). total is the number of matching items, so you know when to stop. Filters (status, agent_id, date_from, q, …) apply before paging.

curl "https://api.voicemint.io/api/v1/agents/calls?skip=0&limit=50&status=ended" \
  -H "Authorization: Bearer $VOICEMINT_API_KEY"

Items are newest first unless the endpoint says otherwise. New items can arrive while you page; for an exact export, filter by a fixed time range (date_from / date_to).

A few older endpoints (mostly Voice Lab history) use limit and offset, or return a plain list; the API reference shows each endpoint's parameters.