API Reference
Log In
API Reference

Pagination

To handle the large size of reports generated by our API, the response for the GET /reports/posts/:id endpoint is paginated. This ensures efficient data transfer and easier client-side handling.

Default Behavior

When calling the GET /reports/posts/:id endpoint without specifying a page parameter, the API will return the first page of results by default.

Retrieving Additional Pages

Each response includes a response_metadata array, which contains an object that contains a next_page guid value. To fetch subsequent pages:

  1. Extract the next_page value from the response_metadata array.
  2. Use this value as the page parameter in your next request to the same endpoint.
  3. Repeat this process until the next_page value is null, which indicates there are no more pages.