Pagination

The API can return up to 1,000 records at a time, meaning that retrieving more records will require multiple requests, where each would specify which page - or set of (up to 1,000) records - to retrieve.

  • rows_per_page: Number of records to return from one request.
    • Default is 25
    • Maximum is 1,000
  • page: If total_records (from the response) is greater than rows_per_page, use this to return a subset of records.
    • Default is 1

Examples
https://api.knack.com/v1/objects/object_1/records?page=2&rows_per_page=25

Because this example requests page 2 with 25 records per page, it will retrieve the 26th through 50th records.
https://api.knack.com/v1/objects/object_1/records?page=3&rows_per_page=100

Because this example requests page 3 with 100 records per page, it will retrieve the 201st through 300th records.


What’s Next
Did this page help you?