Pagination

Some of our API endpoints support pagination. Where this is available, the limit query string value can be used to control the number of items returned (valid values are between 1 and 50, default is 10) and the forward query string value can be used to control the order direction (valid values are true and false, default is true), and a Link header (RFC5988) will be set on responses. The supported link relations are first, prev , next and last. Below is an example response to.

HTTP/2 200
Content-Type: application/json
Link: <https://api.voxie.com/teams/1/subscriptions/1vtmqp3c1NodPe9u3C9K0eo0LUj/deliveries/triggered?forward=true&limit=10>; rel="first", <https://api.voxie.com/teams/1/subscriptions/1vtmqp3c1NodPe9u3C9K0eo0LUj/deliveries/triggered?cursor=1vtpUdT4zUejY5OhsUcqa2kLbG9&forward=false&limit=10>; rel="prev", <https://api.voxie.com/teams/1/subscriptions/1vtmqp3c1NodPe9u3C9K0eo0LUj/deliveries/triggered?cursor=1vtr241ikz7ITCzfiBGD5iW8Wiv&forward=true&limit=10>; rel="next", <https://api.voxie.com/teams/1/subscriptions/1vtmqp3c1NodPe9u3C9K0eo0LUj/deliveries/triggered?forward=false&limit=10>; rel="last"
...

{
  "object": "list",
  "data": [
    {
      "object": "delivery",
      "team_id": 1,
      "subscription_id": "1vtmqp3c1NodPe9u3C9K0eo0LUj",
      "delivery_type": "triggered",
      "event_id": "1vtpUdT4zUejY5OhsUcqa2kLbG9",
      "event_type": "com.voxie.notification.delivered",
      "event_source": "voxie/notifications",
      "reason_code": null,
      "status": "succeeded",
      "created_at": "2021-07-27T13:07:35Z"
    },
    {
      "object": "delivery",
      "team_id": 1,
      "subscription_id": "1vtmqp3c1NodPe9u3C9K0eo0LUj",
      "delivery_type": "triggered",
      "event_id": "1vtr241ikz7ITCzfiBGD5iW8Wiv",
      "event_type": "com.voxie.notification.delivered",
      "event_source": "voxie/notifications",
      "reason_code": null,
      "status": "succeeded",
      "created_at": "2021-07-27T13:20:15Z"
    }
  ]
}