Tamio

List all public affiliate programs

GET https://api.tamio.com/v2/agency/affiliate-programs/list

Returns a paginated list of public affiliate programs from the agency's clients. Supports pagination and sorting.

Query Parameters

page integer*

Page number for pagination

per_page integer*

Number of results per page

order string
ascdesc

Responses

200 Affiliate programs listed successfully

Affiliate programs listed successfully

status integer
total_results integer
programs array of AffiliateProgram
id string
object string
label string

Program display name

currency string
commission_percent number

Commission percentage (0.00 to 1.00)

commission_amount number

Fixed commission amount in smallest currency unit

is_listed boolean
is_public boolean
approved boolean

Whether the program is approved for public listing

seller object

Merchant who owns the program

name string
country string
id string
affiliates integer

Total number of partners in the program

created_at integer

Unix timestamp

400 Validation or business-logic error.
401 Unauthorized – invalid or missing Bearer token
/agency/affiliate-programs/list
1const response = await fetch("https://api.tamio.com/v2/agency/affiliate-programs/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": 12,
  "programs": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "object": "affiliate_program",
      "label": "Partner Program",
      "currency": "EUR",
      "commission_percent": 0.15,
      "commission_amount": 0,
      "is_listed": true,
      "is_public": true,
      "approved": true,
      "seller": {
        "name": "My Shop",
        "country": "de",
        "id": "660e8400-e29b-41d4-a716-446655440000"
      },
      "affiliates": 42,
      "created_at": 1700000000
    }
  ]
}