List all affiliate partners

GET https://api.tamio.com/v2/affiliates/list

Returns a paginated list of affiliate partners. Supports filtering by status, country, affiliate program, automation, date range, and text search.

Query Parameters

page integer

Page number for pagination (1-based).

per_page integer

Number of affiliate partners to return per page.

order string

Sort order for the results.

ascdesc
filter string

Text filter to search affiliate partners by name or email.

sort_by string

Field to sort results by.

nameemailcountrycreated_at
from object

Start date filter (ISO 8601 string or Unix timestamp).

to object

End date filter (ISO 8601 string or Unix timestamp).

affiliate_program_id string

Filter by a specific affiliate program UUID.

automation_id string

Filter by a specific automation UUID.

status string

Filter by application status.

approvedpending
countries array of string

Array of country codes to filter by (1–120 unique values).

Responses

200 Paginated list of affiliate partners.

Paginated list of affiliate partners.

status integer
total_results integer

Total number of matching affiliate partners.

affiliates array of Affiliate
400 Validation or business logic error. Possible causes:
401 Missing or invalid Bearer token.
/affiliates/list
1const response = await fetch("https://api.tamio.com/v2/affiliates/list", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "total_results": 42,
  "affiliates": []
}