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/v1

Authentication

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

MethodEndpointDescription
GETAffiliate 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...
POSTRequest 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...
GETAffiliate 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

MethodEndpointDescription
POSTSubscribe 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.
DELETEUnsubscribe a webhook (REST hook)
/a/hooks/{id}
GETCampaigns API
/a/campaigns
List your campaigns, newest first, with their prices, events, targeting, caps, payout rules, creatives and landing pages. Combine the filter...
GETGet Campaign
/a/campaigns/{campaignId}
Fetch one campaign by ID, in the same shape as an item of the Campaigns API list.
GETReports API
/a/reports
Network-wide click, conversion, revenue and payout stats. Pick the columns with fields: dimension fields (date, campaignId, affiliateId, cou...
GETConversion 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...
PATCHUpdate 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-...
POSTOverride 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...
POSTAdvertiser 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...
POSTAffiliate 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...
POSTAffiliate 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...
POSTAffiliate 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...
POSTEmployee 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...
POSTAdvertiser Password Reset
/a/advertisers/password-reset
Send password reset link to advertiser email.
POSTAffiliate 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...
POSTEmployee Password Reset
/a/employees/password-reset
Send password reset link to employee email.
GETGet Advertiser List
/a/advertisers
Fetch advertiser list with optional filters (name, company, advertiserId).
GETGet Affiliate List
/a/affiliates
Fetch affiliate list with optional filters (name, company, email, affiliateId).
GETGet Employee List
/a/employees
Fetch employee list with optional filters (name, company, employeeId).
POSTCreate Advertiser
/a/advertisers
Creates a new advertiser with login, address, whitelist IPs and account manager assignment.
GETGet Advertiser
/a/advertisers/{advertiserId}
Fetch one advertiser by ID, including address and account manager.
PATCHUpdate 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...
POSTCreate Affiliate
/a/affiliates
Creates a new affiliate with login, address and account manager assignment.
GETGet Affiliate
/a/affiliates/{affiliateId}
Fetch one affiliate by ID, including address and account manager.
PATCHUpdate 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...
POSTCreate Employee
/a/employees
Creates a new employee with basic detail.

Webhooks

Inbound endpoints your SMS gateway / external systems call into

MethodEndpointDescription
POSTInbound 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...