Skip to main content
Four tools for looking up the offers and partners on your network. Use the get_ tools when you already have an ID, and the list_ tools to find one.

get_offer

Retrieves full details for a single offer. Use include to add caps, targeting rules, payout structure, and affiliate access. Requires: Offer → Manage (Read Only) Ask for it: “What are the caps and payout on offer 1234?” Parameters Example
Returns Includes Gotchas
  • include=affiliates returns different sets depending on the offer’s visibility. On a public offer it returns only blocked affiliates (everyone else is implicitly approved). On a require_approval or private offer it returns only approved affiliates. The status_filter field in the response tells you which rule applied — read it before interpreting the list.
  • Treat the tracking_url include — not approval_status — as the authority on whether a partner can actually run the offer.
  • description may contain raw HTML. Render or strip it before showing it to a user; don’t quote it verbatim.
  • To inspect the nested field structure each include returns, call get_entity_schema(type="offer").

list_offers

Lists offers with optional filters, as a paginated compact view. The fastest way to resolve an offer name to an ID. Requires: Offer → Manage (Read Only) Ask for it: “List every active offer for advertiser Acme.” Parameters Example
Returns Envelope: Per row: Gotchas
  • created_before is inclusive of that day. For a strictly-before bound (“created before Jul 10”), pass the previous day (2026-07-09).
  • When you filter on destination_url, the matched URL is echoed on each row. Pair it with status=active to see only live offers.
  • List tools return total_matching. run_performance_report returns total_rows instead — they are not the same field.
  • created_after / created_before are validated before the call: anything that isn’t YYYY-MM-DD returns INVALID_ARGUMENT naming the parameter and the value you sent.

get_affiliate

Retrieves full details for a single affiliate. Use include to add activity metrics, users, offer access, and billing terms. Requires: Partner → Manage (Read Only) Ask for it: “Give me a profile of partner 3296, including how active they’ve been.” Parameters Example
Returns Includes Gotchas
  • include=billing returns scalar settings only — payment-method custom settings are not flattened into it.
  • Coupon codes are not an include. Use list_entities(type="coupon_code", filters={"affiliate_id": 3296}).

list_affiliates

Lists affiliates with optional filters, as a paginated compact view. Also the way to find pending partner applications. Requires: Partner → Manage (Read Only) Ask for it: “Which partner applications are still waiting for approval?” Parameters Example
Returns Envelope: Per row: Gotchas
  • status="pending" means a partner application — a new signup awaiting approval, not a paused account.
  • created_before is inclusive of that day, same as list_offers.