Skip to content

List customers

Request

Returns your customers, sorted by name.

Security
ApiKey
Query
limitinteger, [ 1 .. 100 ]

The maximum number of items to return.

Default:25
cursorstring

The page.nextCursor value from the previous response. Omit it to get the first page.

curl -i -X GET \
  'https://acme-billing.redocly.app/_mock/apis/billing/customers?limit=25&cursor=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

A page of customers.

Bodyapplication/json
objectstringrequired
Value:"list"
itemsarray of objects(Customer)required
pageobject(Page)required

Pagination details for a list.

Response
{ "object": "list", "items": [ { … }, { … }, { … }, { … }, { … }, { … } ], "page": { "limit": 25, "hasMore": false, "nextCursor": null } }