Pagination

Our APIs support cursor-based pagination with the query parameter ?page[cursor].

Paginated resource responses will contain a specific set of pagination cursor helper links in their top-level links object, like the following:

{
  "data": [
    ...
  ],
  "links" : {
    "next" : "https://api.retentionscript.com/api/{endpoint}/?page[cursor]=cursor-id",
    "prev" : null,
  }
}

Use these links to navigate to next and previous pages.