Affclix API Reference
REST endpoints for affiliate networks and their partners: pull approved campaigns and performance reports as an affiliate, or manage advertisers, affiliates, employees, conversions and webhooks as the network. Every endpoint page has request parameters, response codes and generated code samples, and you can send live requests from it.
Base URL
https://api.affclix.com/v1Authentication
Requests are authenticated with credentials generated in your Affclix dashboard. Each endpoint page lists the exact keys it requires.
- Affiliate API — your network's domain ID, your affiliate ID and an API key.
- Admin API — your network's domain ID with an API key and secret.
No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.
Affiliate API
Affiliate endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | Affiliate Campaigns API /af/campaigns | List the live campaigns open to you: public ones, ones that need approval, and private ones the network assigned you. approvalStatus says wh... |
| POST | Request Campaign API /af/campaign-requests | Apply for access to up to 50 campaigns in one call. Each campaign returns its own result: approved, pending, duplicate, invalid or questions... |
| GET | Affiliate Reports API /af/reports | Pull your own click, conversion and payout stats. Pick the columns with fields: dimension fields (date, campaignId, country, …) split the ro... |
Admin API
Network / Admin endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | Subscribe a webhook (REST hook) /a/hooks | Registers a target URL for one event. Used by the Zapier and Make apps for instant triggers; the endpoint then appears in Tools → Webhooks. |
| DELETE | Unsubscribe a webhook (REST hook) /a/hooks/{id} | |
| GET | Campaigns API /a/campaigns | List your campaigns, newest first, with their prices, events, targeting, caps, payout rules, creatives and landing pages. Combine the filter... |
| GET | Get Campaign /a/campaigns/{campaignId} | Fetch one campaign by ID, in the same shape as an item of the Campaigns API list. |
| GET | Reports API /a/reports | Network-wide click, conversion, revenue and payout stats. Pick the columns with fields: dimension fields (date, campaignId, affiliateId, cou... |
| GET | Conversion Reports API /a/conversions | One row per conversion, newest first: its ID, click, campaign, affiliate, event, status, payout, revenue and sale, plus any of the columns l... |
| PATCH | Update Campaign /a/campaigns/{campaignId} | Partially update a campaign: send only the fields to change. Payout and revenue are in the campaign currency and payment model. Dates are Y-... |
| POST | Override Conversion Status /a/conversions/status | Approve or reject conversions, the same as the Approve / Reject action in the Conversion Logs. Send up to 100 IDs in conversionIds (or a sin... |
| POST | Advertiser Login /a/advertisers/login | Authenticate advertiser using email and password and return a redirect URL with short-lived token. The redirect URL works once and expires a... |
| POST | Affiliate Login /a/affiliates/login | Authenticate affiliate using email and password and return a redirect URL with short-lived token. To embed the portal in your own app, use A... |
| POST | Affiliate SSO Link /a/affiliates/sso-link | Mint a single-use link that signs an affiliate into the affiliate portal without a password — for embedding the portal in your own app (webv... |
| POST | Affiliate SSO Logout /a/affiliates/sso-logout | Server-side logout for the embedded portal: every portal session this affiliate opened through an SSO link ends on its next request, and SSO... |
| POST | Employee Login /a/employees/login | Authenticate employee using email and password and return a redirect URL with short-lived token. The redirect URL works once and expires aft... |
| POST | Advertiser Password Reset /a/advertisers/password-reset | Send password reset link to advertiser email. |
| POST | Affiliate Password Reset /a/affiliates/password-reset | Send password reset link to affiliate email. App-only affiliates (password_login=false on Affiliate SSO Link) get no e-mail; the response is... |
| POST | Employee Password Reset /a/employees/password-reset | Send password reset link to employee email. |
| GET | Get Advertiser List /a/advertisers | Fetch advertiser list with optional filters (name, company, advertiserId). |
| GET | Get Affiliate List /a/affiliates | Fetch affiliate list with optional filters (name, company, email, affiliateId). |
| GET | Get Employee List /a/employees | Fetch employee list with optional filters (name, company, employeeId). |
| POST | Create Advertiser /a/advertisers | Creates a new advertiser with login, address, whitelist IPs and account manager assignment. |
| GET | Get Advertiser /a/advertisers/{advertiserId} | Fetch one advertiser by ID, including address and account manager. |
| PATCH | Update Advertiser /a/advertisers/{advertiserId} | Partially update a advertiser: send only the fields to change. A status change here sends no e-mail to the advertiser and does not reset the... |
| POST | Create Affiliate /a/affiliates | Creates a new affiliate with login, address and account manager assignment. |
| GET | Get Affiliate /a/affiliates/{affiliateId} | Fetch one affiliate by ID, including address and account manager. |
| PATCH | Update Affiliate /a/affiliates/{affiliateId} | Partially update a affiliate: send only the fields to change. A status change here sends no e-mail to the affiliate and does not reset their... |
| POST | Create Employee /a/employees | Creates a new employee with basic detail. |
Webhooks
Inbound endpoints your SMS gateway / external systems call into
| Method | Endpoint | Description |
|---|---|---|
| POST | Inbound OTP delivery-receipt (DLR) webhook /v1/otp/webhooks/delivery/{token} | Endpoint your SMS gateway calls with carrier delivery receipts. It lives on the central API host and identifies your tenant from the opaque... |