All endpoints that list objects provide support for pagination.

Paginated responses return items in reverse chronological order, such that the most recently created object will be returned first on the list and the oldest will be returned last.

The result includes a link object with a previous and a next attribute. Do a GET to the URLs in those attributes to fetch the previous or next page of results.

Attributes

Paginated responses share a common structure using cursor-based pagination.

links
object

Links to fetch the next and previous page of the paginated result.

Treat these URLs as a opaque strings. Do not try to parse or construct it.
next
string

A pre-built absolute path URI for fetching the next page of results.

If the value is null, this is the last page of results.

previous
string

A pre-built absolute path URI for fetching the previous page of results.

If the value is null, this is the first page of results.

data
Array of objects

An array of objects, sorted in reverse chronological order by creation date.

Example

{
  "links": {
    "next": "https://api.signatureapi.com/v1/envelopes/?cursor=seq_0thJdKRhN4&limit=20",
    "previous": "https://api.signatureapi.com/v1/envelopes/?cursor=seq_7yNl3c0t&limit=20"
  },
  "data": [
  {...},
  {...},
  ...
  ]
}