Campaigns
Get Campaign
Returns full detail for a single campaign. Includes everything from the list response, plus payout category breakdown, platforms, allowed/disallowed media, tracking & payment timelines, and conversion flow. Pass currency=USD for USD payouts.
GET
/pub_api/v3/campaigns/:id
read:campaigns
Path Parameters
|
idrequired
integer
|
Campaign ID. Returns 404 if not found, paused, or deleted. |
Query Parameters
|
currencyoptional
string
|
Currency for payout values. Default: INR. Supported: INR, USD. |
Detail-only fields (beyond list response)
FieldTypeDescription
important_info_html
string
Important terms and conditions in HTML.
payout_categories
object[]
Granular payout breakdown. Each item:
{name, payout_type, payout, is_header}. Payout values respect the currency param.
platforms
object
Platforms where tracking is available.
{allowed: ["Web", "Mobile Web", ...], disallowed: ["iOS App"]}
media
object
Promotional media types.
{allowed: ["Banner", "Deals", ...], disallowed: ["POP Traffic", ...]}
tracking_time
string
How quickly conversions are tracked, e.g.
"5min".
validation_time
string
Time for transaction validation, e.g.
"45 Days".
payment_time
string
Payment timeline after validation, e.g.
"60 Days".
conversion_flow
object
Steps describing the user journey to conversion.
{"Step 1": "...", "Step 2": "..."}
Request
curl https://developers.cuelinks.com/pub_api/v3/campaigns/4821 \ -H "Authorization: Token YOUR_API_KEY"
200 OK - detail fields shown
200
{ "data": { // ... all list fields (incl. payout_currency) ... "important_info_html": "<p>Important tracking terms</p>", "payout_categories": [ { "name": "Electronics", "payout_type": "CPS", "payout": "3.50", "is_header": false } ], "platforms": { "allowed": ["Web", "Mobile Web", "Android App", "iOS App"], "disallowed": [] }, "media": { "allowed": ["Banner", "Deals", "Email (Text)"], "disallowed": ["POP Traffic", "Native Ads"] }, "tracking_time": "5min", "validation_time": "45 Days", "payment_time": "60 Days", "conversion_flow": { "Step 1": "Generate Affiliate Links", "Step 2": "Bring Traffic", "Step 3": "Bring Sales" } } }
404 Not Found
404
{ "error": "Campaign not found" }