API reference for retrieving a paginated list of affiliate invitations for the authenticated merchant.
/api/v2/affiliates/invites
Authorization
The Bearer token generated in the Affilibee dashboard.
application/json
per_page
The number of invites to return per page. Default is 15.
page
The page number to retrieve.
email
Filter invites by affiliate email (partial match).
curl -X GET https://affilibee.com/api/v2/affiliates/invites \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json"
const token = "YOUR_ACCESS_TOKEN";
const url = "https://affilibee.com/api/v2/affiliates/invites";
fetch(url, {
method: "GET",
headers: {
"Authorization": `Bearer ${token}`,
"Accept": "application/json"
}
})
.then(response => response.json())
.then(data => console.log("Success:", data))
.catch(error => console.error("Error:", error));
import requests
token = "YOUR_ACCESS_TOKEN"
url = "https://affilibee.com/api/v2/affiliates/invites"
response = requests.get(
url,
headers={
"Authorization": f"Bearer {token}",
"Accept": "application/json",
},
)
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('affiliates/invites');
echo $response->getBody();
application/json
Success
Returned when the list of affiliate invitations is successfully retrieved.
Unauthorized
Returned when the request does not include a valid Bearer token.
{
"success": true,
"data": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"email": "affiliate@example.com",
"link_used_at": null,
"created_at": "2026-04-05T18:30:00Z",
"updated_at": "2026-04-05T18:30:00Z"
},
{
"uuid": "660f9511-f30c-52e5-b827-557766551111",
"email": "partner@example.com",
"link_used_at": "2026-04-06T10:15:00Z",
"created_at": "2026-04-05T12:00:00Z",
"updated_at": "2026-04-06T10:15:00Z"
}
],
"errors": null,
"meta": {
"pagination": {
"total": 2,
"count": 2,
"per_page": 15,
"current_page": 1,
"total_pages": 1
},
"trace_id": "20260405-183000:api:abc12"
}
}
{
"success": false,
"data": null,
"errors": {
"message": [
"Unauthenticated."
]
},
"meta": {
"trace_id": "20260405-183000:api:abc12"
}
}
Only invitations 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)