Affiliate Campaigns API

GET /af/campaigns

List the live campaigns open to you: public ones, ones that need approval, and private ones the network assigned you. approvalStatus says which you may run; tracking links and creatives are included only for those (approved). Only active campaigns within their start and end dates are listed, most recently updated first. Results are cached for 60 seconds. Rate limit: 30 requests a minute and 500 a day per affiliate (shared with the other Affiliate API endpoints).

Authentication

Domain ID — your network's tenant ID (header: X-Domain-Id)

Affiliate ID (header: X-Affiliate-Id)

API Key (header: X-Api-Key)

No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.

Parameters

NameInTypeRequiredDescription
campaignIdquerystringNoOnly these campaigns: one ID or several separated by commas.
updatedSincequerystring (date-time)NoOnly campaigns changed at or after this date-time (ISO 8601, e.g. 2026-11-01T00:00:00Z) — use it to sync only what changed. The older spelling updated_since is also accepted.
pagequeryintegerNoPage to return, starting at 1. meta.pagination.totalPages says how many there are.
limitqueryintegerNoCampaigns per page, 1–500. Default 50.

Responses

StatusDescription
200Campaigns open to you, most recently updated first.
400Authentication parameters missing (X-Domain-Id, X-Affiliate-Id, X-Api-Key), or unknown domain ID
403Invalid credentials, API access switched off for you, IP not on your allowlist, or API access not in the network's plan
422A parameter is invalid
429Rate limit reached (30 a minute / 500 a day). Wait for Retry-After seconds.

Response fields (inside data)

FieldTypeDescription
campaignIdinteger
advertiserIdinteger
campaignNamestring
statusstringAlways active: only live campaigns are listed.
approvalStatusstring (approved | pending | rejected | not_requested)Whether you may run it. approved: run it (public campaigns are approved automatically); pending: your request awaits review; rejected: you may not run it; not_requested: it needs approval and you have not applied — apply with POST /af/campaign-requests.
previewUrlstring
trackingUrlstringYour tracking link. null unless approvalStatus is approved.
impressionUrlstringImpression pixel URL. null unless approvalStatus is approved.
paymentModelstringPayment model code, e.g. CPA, CPL, CPS, CPI.
payoutnumberWhat you earn per conversion, in currency. For percentage models (CPS, CPAS, RevShare, IB) it is a percent of the sale: 12.5 means 12.5%.
currencystring
startDatestringY-m-d H:i:s, in the campaign timezone.
endDatestringY-m-d H:i:s, in the campaign timezone.
termsstringPlain text (HTML removed).
descriptionstringPlain text (HTML removed).
trafficRulesobjectTraffic types the campaign allows; null when it sets no restrictions.
trafficRules.allowedarray of stringsTraffic type slugs you may use, e.g. email, social.
trafficRules.requires_approvalarray of stringsTraffic types you need permission for.
trafficRules.not_allowedarray of strings
trafficRules.notesstring
trafficRules.enforced_on_clicksbooleanWhether clicks from disallowed traffic are blocked.
trafficRules.updated_atstring
trafficRules.forAffiliateobjectPer traffic type slug, what applies to you after your exceptions: allowed, approval, pending or prohibited.
applicationQuestionsarray of objectsQuestions to answer when you request access (empty when there are none).
applicationQuestions[].keystringSend the answer under answers.<campaignId>.<key> in POST /af/campaign-requests.
applicationQuestions[].labelstring
applicationQuestions[].typestring
applicationQuestions[].optionsarray of strings
applicationQuestions[].requiredboolean
applicationQuestions[].helpstring
categoriesarray of strings
eventsarray of objectsConversion events (goals).
events[].namestring
events[].tokenstring
targetingRulesarray of objectsActive targeting rules the network shares with affiliates.
targetingRules[].idinteger
targetingRules[].namestring
targetingRules[].action_onstring
targetingRules[].conditionsarray of objects
targetingRules[].fallback_urlstring
targetingRules[].fallback_campaign_idinteger
cappingRulesarray of objectsActive caps that apply to you.
cappingRules[].idinteger
cappingRules[].typestring (gross_clicks | unique_clicks | gross_conversions | approved_conversions | pending_conversions)
cappingRules[].periodstring (hourly | daily | weekly | monthly)
cappingRules[].valueintegerLimit per period.
cappingRules[].eventstring
cappingRules[].timezonestring
payoutRulesarray of objectsActive payout rules shared with affiliates that can pay you a different price.
payoutRules[].idinteger
payoutRules[].modelstring
payoutRules[].conditionsarray of objects
payoutRules[].payoutnumberWhat you earn under this rule.
payoutRules[].currencystring
creativesarray of objectsApproved creatives; empty unless approvalStatus is approved.
creatives[].idinteger
creatives[].titlestring
creatives[].typestring
creatives[].fileobject
creatives[].file.urlstring
creatives[].file.namestring
creatives[].file.content_typestring
creatives[].emailobject
creatives[].email.sender_namestring
creatives[].email.subject_linestring
creatives[].contentobject
creatives[].content.codestring