Base URL
Authentication
Campaigns
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/campaigns | List all campaigns |
GET | /v1/campaigns/:id | Get a campaign |
POST | /v1/campaigns | Create a campaign |
PATCH | /v1/campaigns/:id | Update a campaign |
DELETE | /v1/campaigns/:id | Archive a campaign |
Affiliates
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/campaigns/:id/affiliates | List affiliates |
POST | /v1/campaigns/:id/affiliates | Invite affiliate (returns invite link) |
DELETE | /v1/campaigns/:id/affiliates/:aff_id | Remove affiliate |
Conversions
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/campaigns/:id/conversions | List conversions |
POST | /v1/conversions | Track a conversion |
Webhook Events
| Event | Description |
|---|---|
conversion.created | New conversion tracked |
conversion.approved | Conversion approved |
conversion.rejected | Conversion rejected |
affiliate.joined | Affiliate joins campaign |
affiliate.approved | Affiliate approved |
payout.created | Payout initiated |
Rate Limits
- 100 requests/minute per API key
- Returns
429 Too Many Requestswhen exceeded
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden (PRO required) |
404 | Not Found |
429 | Rate Limited |
500 | Server Error |