Pagination


All endpoint which give a list of entities are automatically paginated. For example, when asking for all Locations of a campaign, 15 locations are sent back. A links property in the response give you information about the pagination options.

{
  "data": [
      // up to 15 locations
  ],
   "links": {
        "first": "/1.0/campaigns/123/locations?page=1",
        "last": "/1.0/campaigns/123/locations?page=5",
        "prev": null,
        "next": "/1.0/campaigns/123/locations?page=2"
    }
}