Customers
List Customers
This endpoint lists all customers.
GET
Base URL https://api.tolt.com
Query Parameters
string
The program ID from where you want to list the customers.
string - optional
Only return customers referred by this partner.
string - optional
Filter customers by email. Partial matches are supported.
asc | desc - optional
The order of the customers to return by created_at. Default is desc.
string - optional
Filter customers by status. Valid values are: ‘lead’, ‘trialing’, ‘active’,
‘canceled’
array - optional
Specify which related objects to include in the response. Valid values are
‘partner’ and ‘program’. Use expand[]=partner or
expand[]=program to include the related objects.
string - optional
Only return customers created after this date.
string - optional
Only return customers created before this date.
string - optional
A limit on the number of customers to return. Default is 10, max is 100.
string - optional
A cursor for use in pagination. starting_after is an object ID that defines
your place in the list. The value of the starting_after parameter is the
customer ID. To receive the next page use the last customer ID from the
previous page.
string - optional
A cursor for use in pagination. ending_before is an object ID that defines
your place in the list. The value of the ending_before parameter is the
customer ID. To receive the previous page use the first customer ID from the
previous page.
Response
boolean
Whether the request was successful
boolean
Whether there are more pages of results available
integer
Total number of customers matching the query
object{object}

