Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/campaigns/:campaign_id/affiliates | List affiliates |
| POST | /v1/campaigns/:campaign_id/affiliates | Invite an affiliate (returns invite link) |
| DELETE | /v1/campaigns/:campaign_id/affiliates/:affiliate_id | Remove an affiliate |
List Affiliates
Get all affiliates for a specific campaign.Query Parameters
| Param | Type | Default | Description |
|---|---|---|---|
| status | string | - | Filter: active, pending, rejected |
| limit | number | 50 | Results per page |
| offset | number | 0 | Pagination offset |
Response
Invite Affiliate
Send an invitation to join your campaign. The affiliate must click the link to accept.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| string | ✅ | Affiliate’s email address |
Example
Response
Behavior
⚠️ Important: For privacy and consent reasons, affiliates are NOT added directly.
- An invitation link is generated (valid for 7 days)
- You send this link to the affiliate (via email, Slack, etc.)
- The affiliate clicks the link and creates/logs into their BaClique account
- They are then added to your campaign
Remove Affiliate
Remove an affiliate from a campaign.Example
Response
⚠️ Note: This removes the affiliate from the campaign but does not delete their historical data (clicks, conversions, commissions).
Affiliate Statuses
| Status | Description |
|---|---|
active | Affiliate can generate links and earn commissions |
pending | Waiting for approval (private campaigns only) |
rejected | Application rejected by creator |