Skip to main content
When an API response returns a list of objects, no matter the amount, pagination is supported. In paginated responses, objects are nested in a data property and have a has_more property that indicates whether you have reached the end of the last page. You can use the starting_after and ending_before query parameters to browse pages.

Pagination Parameters

limit
integer
Number of objects to return. Maximum of 100.
starting_after
string
Cursor for use in pagination. Return the next page starting after this object ID.
ending_before
string
Cursor for use in pagination. Return the previous page ending before this object ID.

Example Request

curl https://api.decisionly.com/v2/issuer/cases \
  -u test_d0019b48d05849a6: \
  -d starting_after="case_1MtJUT2eZvKYlo2CNaw2HvEv" \
  -d limit=10

Example Response

{
  "has_more": false,
  "data": [
    {
      "case_id": "case_b9d08d1a84f84b28b942b05f",
      // ...
    },
    {
      "case_id": "case_652654a457d9423aae0e495a",
      // ...
    },
    {
      "case_id": "case_d177a2a647ae4299abc2a320",
      // ...
    }
  ]
}