Skip to main content
GET

Base URL https://api.tolt.com


Query Parameters

program_id*
string
The program ID from where you want to list the customers.
partner_id
string - optional
Only return customers referred by this partner.
Filter customers by email. Partial matches are supported.
order
asc | desc - optional
The order of the customers to return by created_at. Default is desc.
status
string - optional
Filter customers by status. Valid values are: ‘lead’, ‘trialing’, ‘active’, ‘canceled’
expand
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.
created_gte
string - optional
Only return customers created after this date.
created_lte
string - optional
Only return customers created before this date.
limit
string - optional
A limit on the number of customers to return. Default is 10, max is 100.
starting_after
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.
ending_before
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

success
boolean
Whether the request was successful
has_more
boolean
Whether there are more pages of results available
total_count
integer
Total number of customers matching the query
data
object{object}