List endpoints (like /members/ and /campaigns/) have pagination, so you can load pages of results in turn instead of all data at once.

The default number of results returned in each response is 50.

Each request contains the following structure:

{
  "count": 19,
  "next": null,
  "previous": null,
  "results": [
    {
      ...
    },
    ...
  ]
}
  • count returns the total number of results for your query, from all the pages
  • next is the URL for the next page of results (or null if there is no next page)
  • previous is the URL for the previous page of results (or null if there is no previous page)
  • results is a list of objects

You can move between pages by hitting the endpoint URLs in the next and previous values.