Pagination controls the number of rows returned for an API resource response.

One way to request limits and offsets is by using query parameters. For example:

curl "https://integration.getmateo.com/api/v1/contact?limit=15&offset=30"

You can use headers to specify the range of rows desired. This request gets the first twenty contacts:

curl "https://integration.getmateo.com/api/v1/contact" -i \
  -H "Range-Unit: items" \
  -H "Range: 0-19"

Note that the api may respond with fewer if unable to meet your request.

There is a hard limit of 50 rows per request. If you set the limit to more than 50, the API will still return max 50 rows.