Skip to main content
GET
Returns the key’s customers, newest first, with each one’s plan, balance and overage: the rows of the dashboard’s Customers list. Sandbox keys list Sandbox customers and Live keys list Live ones.
  • query keeps only customers whose ID contains it, ignoring case: query=acme finds team-ACME-1.
  • planId and subscriptionStatus describe the customer’s latest subscription that hasn’t closed, and are null when there’s none. availableCredits is plan and pack credits together.
  • overage is this period’s overage on a paid plan that bills it, else null. capReached is true once even your cheapest feature no longer fits under the cap.
  • accountId is your ID for the customer’s account, or null.
  • Pages hold limit items (1–100, default 25). When hasMore is true, pass nextCursor as cursor, with the same query, for the next page. Customers created while you page appear on the first page, not later ones, so a walk never repeats or skips a customer.
Needs the Customers permission at Read. List reads have their own rate limit of 10 a second.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

query
string

Only customers whose ID contains this text, ignoring case. Omit to list every customer.

Maximum string length: 255
limit
integer

Items per page, 1–100. Defaults to 25.

Required range: 1 <= x <= 100
cursor
integer

The previous page's nextCursor. Omit for the first page. Pass the same query with it.

Required range: x <= 2147483647

Response

Customers, newest first

items
object[]
required
hasMore
boolean
required
nextCursor
integer | null
required