List all customers
GET
https://api.tamio.com/v2/customers/list
Returns a paginated list of customers. Supports filtering by name, email, country,
date range, teammate, automation, product, and affiliate program. Leads can be
optionally included via the include_leads parameter.
Query Parameters
page
integer*
per_page
integer*
order
string
ascdesc
sort_by
string
nameemailcountrycreated_at
filter
string
Search by name, email, or other fields
from
string
Start date filter (ISO 8601 or unix timestamp)
to
string
End date filter (ISO 8601 or unix timestamp)
include_leads
boolean
Whether to include leads in the results
teammate_id
string
Filter by assigned teammate UUID
automation_id
string
Filter by automation UUID
product_id
string
Filter by product UUID
affiliate_program_id
string
Filter by affiliate program UUID
affiliate_program_partner_id
string
Filter by affiliate program partner UUID
countries[]
array of string
Filter by country codes
attributes[]
array of string
Additional attributes to include
Responses
200
Customers listed successfully
Customers listed successfully
status
integer
total_results
integer
customers
array of Customer
400
Validation or business-logic error. Possible `error_code` values:
Validation or business-logic error. Possible error_code values:
1002– ResourceNotFound: a filter resource (teammate, automation, product, affiliate program) was not found
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string