Skip to main content
Every list endpoint returns results newest first, in pages. You move through pages with a cursor: the id of the last object you received.

Parameters

Response

Lists use a cursor and not a page number. New rows can arrive while you are paging, and a page number would repeat or skip one. A cursor can’t.

Get every page

Take the id of the last object in data, pass it as starting_after, and stop when has_more is false.

Filters

Filters combine with paging. An invalid value answers 422 and names the parameter. status takes one or more values separated by commas, such as ?status=active,draft. Leave it out to get every status.
Every list returns every status unless you set status. To list the plans and charges a new subscription can use, ask for ?status=active,draft.
GET /v1/customers lists customers only. A Xero contact that hasn’t been imported as a customer in Saasybill doesn’t appear.