API reference for retrieving a paginated list of tiers for the authenticated merchant.
/api/v2/tiers
Authorization
The Bearer token generated in the Affilibee dashboard.
application/json
per_page
The number of tiers to return per page. Default is 15.
page
The page number to retrieve.
curl -X GET "https://affilibee.com/api/v2/tiers?per_page=15&page=1" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json"
const token = "YOUR_ACCESS_TOKEN";
const url = "https://affilibee.com/api/v2/tiers?per_page=15&page=1";
const response = await fetch(url, {
method: "GET",
headers: {
"Authorization": `Bearer ${token}`,
"Accept": "application/json"
}
});
const data = await response.json();
console.log(data);
import requests
token = "YOUR_ACCESS_TOKEN"
url = "https://affilibee.com/api/v2/tiers"
params = {
"per_page": 15,
"page": 1
}
response = requests.get(
url,
headers={
"Authorization": f"Bearer {token}",
"Accept": "application/json",
},
params=params,
)
print(response.json())
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$token = 'YOUR_ACCESS_TOKEN';
$client = new Client([
'base_uri' => 'https://affilibee.com/api/v2',
'headers' => [
'Authorization' => "Bearer $token",
'Accept' => 'application/json',
],
]);
$response = $client->get('tiers', [
'query' => [
'per_page' => 15,
'page' => 1,
],
]);
echo $response->getBody();
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main(string[] args)
{
using var client = new HttpClient();
var url = "https://affilibee.com/api/v2/tiers?per_page=15&page=1";
var token = "YOUR_ACCESS_TOKEN";
client.DefaultRequestHeaders.Add("Authorization", $"Bearer {token}");
client.DefaultRequestHeaders.Add("Accept", "application/json");
var response = await client.GetAsync(url);
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
}
application/json
Success
Returned when the list of tiers is successfully retrieved.
Unauthorized
Returned when the request does not include a valid Bearer token.
{
"success": true,
"data": {
"tiers": [
{
"name": "Standard",
"slug": "standard",
"description": "The default tier for new affiliates.",
"created_at": "2026-03-20T10:00:00Z",
"updated_at": "2026-03-20T10:00:00Z"
},
{
"name": "Premium",
"slug": "premium",
"description": "A higher commission tier for top performers.",
"created_at": "2026-03-20T10:00:00Z",
"updated_at": "2026-03-20T10:00:00Z"
}
]
},
"errors": null,
"meta": {
"pagination": {
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 2,
"next_page_url": null,
"prev_page_url": null
},
"trace_id": "20260321:api:abc12"
}
}
{
"success": false,
"data": null,
"errors": {
"message": [
"Unauthenticated."
]
},
"meta": {
"trace_id": "20260321:api:abc12"
}
}
The response is paginated and includes metadata about the pagination state.
Only tiers associated with your merchant account are returned.
We help teams run affiliate programs through API-first integrations that fit the platform they already use.
© 2025 Affilibee Handelsbolag (969802-2481)