Skip to main content
End Close list endpoints return results one page at a time. Most use cursor pagination: you request a page with limit, and pass each response’s next_cursor back as cursor until next_cursor is null.

Cursor pagination

These endpoints use cursors: Results come newest first.

Request parameters

integer
default:"50"
Results per page, from 1 to 200. A value above 200 is treated as 200.
string
The next_cursor from the previous response. Omit it for the first page.

Response fields

array
The results on this page.
string | null
Pass this as cursor to get the next page. null on the last page.
integer
The page size the API applied.
Response
Treat cursors as opaque and pass them back unchanged. A cursor the API can’t read returns the first page rather than an error, so a mangled cursor restarts your loop instead of failing. Stop when next_cursor is null.

Fetch every page

This example lists every record in one data stream. GET /records needs at least one filter, here data_stream_key.

Offset pagination

A few endpoints page with limit and offset instead of a cursor: offset defaults to 0. Each response carries has_more and an offset that is where the next page starts, so pass the returned offset back until has_more is false. GET /reconciliation_matches also returns total_count, the number of matches across all pages.
Response
On GET /file_imports/{id} and GET /bulk_requests/{id}, the paged list of row errors and its has_more and offset sit in a nested object rather than at the top level. Successful rows aren’t listed there; they are records, which you can list with GET /records?import_id=....

Page-numbered review

GET /reconciliation_exceptions/{id}/review pages by number: page starts at 1 and per_page defaults to 50, up to 200. The response returns page, per_page and total, the number of rows matching your filters.

End Close API

Base URL, environments and conventions.

List records

Filters and response fields for GET /records.