Affilibee
Toggle sidebar

List affiliate invites

API reference for retrieving a paginated list of affiliate invitations for the authenticated merchant.

Endpoint

GET
/api/v2/affiliates/invites

Authorization

Learn more
Authorization
string
header
required

The Bearer token generated in the Affilibee dashboard.

Body

application/json

per_page
integer

The number of invites to return per page. Default is 15.

page
integer

The page number to retrieve.

email
string

Filter invites by affiliate email (partial match).

Example requests

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();

Responses

application/json

200
Success

Returned when the list of affiliate invitations is successfully retrieved.

401
Unauthorized

Returned when the request does not include a valid Bearer token.

Response examples

{
    "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"
    }
}

Notes

  • Only invitations associated with your merchant account are returned.

Got questions? We're here for you.

We help teams run affiliate programs through API-first integrations that fit the platform they already use.

© 2025 Affilibee Handelsbolag (969802-2481)

Integrations

API Integration
How can we assist you today?

Fill in the form below and we'll get back to you as soon as possible.

Name
Email
Message