Endpoints that support pagination
GET /v1/bank-accounts does not use pagination — it returns all of your bank accounts in a single response, regardless of count.Query parameters
Response shape
All paginated endpoints return a consistent envelope:Paginated response envelope
items— the array of resource objects for the current page.totalCount— the total number of records matching your query (across all pages). Use this to compute the total number of pages:Math.ceil(totalCount / pageSize).
Basic pagination example
Retrieve the second page of contacts, with 10 contacts per page:Fetch page 2 with 10 items per page
Paginated contacts response
Search and filter parameters
Combine pagination with search and filter parameters to narrow results.Contacts (GET /v1/contacts)
Search active payees matching 'acme'
Payables (GET /v1/payables)
List approved payables
Iterate through all pages
When you need to retrieve every record matching a query, loop through pages until you’ve collectedtotalCount items. Here’s a JavaScript example:
Fetch all contacts (JavaScript)