Skip to main content

get_offer

Retrieves full details for a single offer. Use the include parameter to fetch caps, targeting rules, payout structure, and affiliate-specific data. Parameters:
ParameterTypeRequiredDescription
offer_idnumberYesNumeric offer ID
affiliate_idnumberNoRequired when include contains tracking_url
includestringNoComma-separated: caps, targeting, payout, affiliate, affiliates, tracking_url — max 256 chars
affiliate_idsstringNoFor include=affiliates only — comma-separated affiliate IDs to filter — max 1,024 chars
cursorstringNoPagination cursor for include=affiliates — max 1,024 chars
Response fields:
FieldTypeDescription
offer_idnumberNumeric offer ID
namestringOffer name
statusstringOffer status
visibilitystringOffer visibility setting
currencystringOffer currency
advertiser_idnumberAdvertiser ID
advertiser_namestringAdvertiser name
destination_urlstringOffer destination URL
conversion_methodstringHow conversions are tracked (e.g. server_postback)
offer_group_idnumberOffer group ID (0 if not in a group)
preview_urlstringOffer preview URL (if set)
Include: caps — click, conversion, payout, and revenue budget limits and current consumption. Include: targeting — geo restrictions, device rules, day-parting, and eligibility conditions. Include: payout — payout tiers, events, and rules. Include: affiliate — this affiliate’s approval status and visibility for the offer (requires affiliate_id). Include: tracking_url — the affiliate’s unique tracking link (requires affiliate_id). Include: affiliates — paginated list of affiliates with their visibility and approval status for this offer.

list_offers

Lists offers with optional filters. Returns a paginated compact view. Filters:
FilterTypeDescription
searchstringSearch by offer name — max 256 chars
statusstringactive, paused, pending, deleted — max 256 chars
advertiser_idstringFilter by advertiser ID (numeric string)
advertiserstringSearch by advertiser name — max 256 chars
categorystringFilter by category name (substring match) — max 256 chars
labelstringFilter by label name (substring match, case-insensitive) — max 256 chars
page_sizenumberRows per page (1–200, default 25)
cursorstringPagination cursor from a prior response — max 1,024 chars
Response envelope:
FieldTypeDescription
has_morebooleantrue if additional pages exist
next_cursorstringPass as cursor to retrieve the next page
rows_returnednumberNumber of records in this page
total_matchingnumberTotal records matching the query
Per-row fields:
FieldTypeDescription
offer_idnumberNumeric offer ID
namestringOffer name
statusstringOffer status
visibilitystringVisibility setting
advertiser_idnumberAdvertiser ID
advertiser_namestringAdvertiser name
currencystringOffer currency
encoded_valuestringEncoded offer ID
category_idnumberCategory ID (if set)
category_namestringCategory name (if set)
date_live_untilstringExpiry date (if set)
labelsarrayLabels assigned to this offer

get_affiliate

Retrieves full details for a single affiliate. Use the include parameter to fetch activity metrics, users, offer access, tracking domains, and coupon codes. Parameters:
ParameterTypeRequiredDescription
affiliate_idnumberYesNumeric affiliate ID
timezonestringNoIANA timezone for activity timestamps — max 64 chars
includestringNoComma-separated: activity, users, offers — max 256 chars
offer_idsstringNoFor include=offers only — comma-separated offer IDs to check visibility for this affiliate — max 1,024 chars
can_runstringNoFor include=offers only — filter by runnable status: yes or no — max 8 chars
cursorstringNoFor include=offers only — pagination cursor from a prior response — max 1,024 chars
Response fields:
FieldTypeDescription
affiliate_idnumberNumeric affiliate ID
namestringAffiliate name
statusstringAccount status
currencystringDefault currency
manager_idnumberAccount manager employee ID
manager_namestringAccount manager name
internal_notesstringInternal notes (if any)
Include: activity — portal login frequency, API usage, 7-day click/conversion performance, and last active date. Include: users — contact details (names, titles, emails) for the affiliate’s team. Include: offers — paginated list of offers the affiliate can run, with visibility type and approval status.
To retrieve coupon codes for an affiliate, use list_entities with type=coupon_code and filter by affiliate_id.

list_affiliates

Lists affiliates with optional filters. Returns a paginated compact view. Filters:
FilterTypeDescription
searchstringSearch by affiliate name or company — max 256 chars
statusstringactive, inactive, pending — max 256 chars
manager_idnumberFilter by account manager employee ID
labelstringFilter by label name (substring match) — max 256 chars
tierstringFilter by tier name (substring match) — max 256 chars
page_sizenumberRows per page (1–200, default 25)
cursorstringPagination cursor from a prior response — max 1,024 chars
Response envelope:
FieldTypeDescription
has_morebooleantrue if additional pages exist
next_cursorstringPass as cursor to retrieve the next page
rows_returnednumberNumber of records in this page
total_matchingnumberTotal records matching the query
Per-row fields:
FieldTypeDescription
affiliate_idnumberNumeric affiliate ID
namestringAffiliate name
statusstringAccount status
manager_idnumberAccount manager employee ID
default_currency_idstringDefault currency
encoded_valuestringEncoded affiliate ID
tier_idnumberTier ID (if assigned)
tier_namestringTier name (if assigned)
labelsarrayLabels assigned to this affiliate