Integration

Refersion integration

Refersion runs affiliate and influencer programs for e-commerce merchants. List, count, update, lock or delete affiliates and their custom fields, generate tracking links, read clicks and affiliate activity, list, count, approve or deny conversions, credit orders or manual commissions to affiliates, manage offers, promotion methods (coupons, SKUs, emails) and exclusions, browse AI-suggested partner prospects with pitches, read reference data (countries, states, currencies, timezones, categories) and manage webhook endpoints. The deprecated REST API v2 (public and secret key headers) and the GraphQL API are not used. Authentication is OAuth client credentials: generate a Client ID and Client Secret under Settings, Integrations, Refersion API Keys; read routes allow 300 and write routes 60 requests per minute.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Refersion.Built from the 44 Refersion tools below, on the connection you add once.

What you can do with Refersion

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Conversion, 5 operations

  • count_conversionsCount conversionsGETReturns counts of conversions grouped by status (pending, approved, paid, denied, unqualified) for the authenticated merchant.
  • credit_order_to_affiliateCredit order to affiliatePOSTCredits an order from the conversion queue (conversionQueueId, from search_orders) to an affiliate with an approval status. Queued: the conversion is created asynchronously.
  • get_conversionGet conversionGETRetrieves the full detail view for a single conversion owned by the authenticated client.
  • list_conversionsList conversionsGETRetrieves a paginated list of conversions for the authenticated merchant. Supports filtering by status, order ID, affiliate, date range, offer, and platform.
  • update_conversion_statusUpdate conversion statusPATCHChanges one conversion's status between PENDING, APPROVED, DENIED and UNQUALIFIED (allowed transitions only). APPROVED and DENIED send webhook notifications.

Affiliate, 4 operations

  • count_affiliatesCount affiliatesGETCounts affiliates by status (pending, approved, denied; denied includes BANNED). Takes the list_affiliates filters; performance filters narrow only approvedCount.
  • delete_affiliateDelete affiliateDELETEDeletes an affiliate (status set to DELETED). Refused while the affiliate has pending or unpaid conversions.
  • list_affiliatesList affiliatesGETLists affiliates with profile, offer and performance metrics, paginated. Filter by status (approved includes locked, denied includes BANNED), search, offers or performance ranges.
  • update_affiliateUpdate affiliatePATCHUpdates an affiliate (status PENDING/APPROVED/DENIED, locked, offer, profile, URL, custom fields). Only sent fields change. locked cannot be combined with status. Send id equal to affiliateId.

Offer, 4 operations

  • delete_offerDelete offerDELETEDeletes an offer. The default offer and offers with assigned affiliates cannot be deleted; a Marketplace listing using it is moved to the default offer when one is active.
  • duplicate_offerDuplicate offerPOSTDuplicates an offer owned by the authenticated client. Returns the new offer ID.
  • list_offersList offersGETRetrieves a paginated list of offers for the authenticated client. Returns offer information including commission settings, attribution window, and various configuration options.
  • update_offerUpdate offerPATCHUpdates an offer's name, default flag, attribution window, private flag or commission. Only sent fields change; offerId 0 updates the default offer.

Promotion method, 4 operations

  • activate_promotion_methodActivate promotion methodPATCHActivates a promotion method that is currently in PENDING status. Only promotion methods owned by the authenticated client can be activated.
  • create_promotion_methodCreate promotion methodPOSTCreates a coupon or email promotion method for an affiliate. A value already used by any affiliate of the account is refused. The sku type is always refused for API tokens (403): SKU methods are created in the Refersion dashboard.
  • delete_promotion_methodDelete promotion methodDELETEDeletes a promotion method (conversion trigger) by its ID. The promotion method must belong to the authenticated client's account.
  • list_promotion_methodsList promotion methodsGETRetrieves a paginated list of promotion methods for the authenticated client.

Webhook endpoint, 4 operations

  • create_webhook_endpointCreate webhook endpointPOSTSubscribes an HTTPS URL to event types (topics). The URL must answer 2xx within 15 s. The signing secret (whsec_) is not returned: copy it from the webhook settings portal.
  • delete_webhook_endpointDelete webhook endpointDELETERemoves one webhook endpoint belonging to the authenticated Refersion user.
  • list_webhook_endpointsList webhook endpointsGETLists the webhook endpoints for the authenticated Refersion user. Cursor-paginated. Some users may receive a 402 if their plan doesn't include webhook access.
  • update_webhook_endpointUpdate webhook endpointPATCHChanges a webhook endpoint's url, topics or both. Omitted fields stay; topics replaces the whole subscription.

Affiliate custom field, 3 operations

  • clear_affiliate_custom_fieldClear affiliate custom fieldDELETEClears one affiliate's value for a custom registration field. The field definition is not changed; repeating the call is harmless.
  • list_affiliate_custom_fieldsList affiliate custom fieldsGETRetrieves all custom registration fields configured by the merchant for a given affiliate, along with the affiliate's corresponding values.
  • update_affiliate_custom_fieldUpdate affiliate custom fieldPATCHSets an affiliate's value for one custom registration field (ids from list_affiliate_custom_fields). The ids go in the path and again in the body.

Exclusion, 3 operations

  • create_exclusionCreate exclusionPOSTExcludes an IP address, coupon code or SKU from affiliate credit. Send type plus exactly one matching field: ip, couponCode (optional couponDescription) or sku (optional nameLabel).
  • delete_exclusionDelete exclusionDELETEDisables an exclusion by id. type (ip, coupon or sku) is required to say which kind of exclusion the id belongs to.
  • list_exclusionsList exclusionsGETRetrieves paginated active exclusions for the authenticated client account, filtered by type (ip, coupon, or sku) with optional search.

Account, 1 operation

  • list_session_accountsList session accountsGETLists the merchant accounts this connection can act on: the accounts chosen when access was granted that are still available to the signed-in user.

Affiliate activity, 1 operation

  • get_affiliate_activityGet affiliate activityGETRetrieves weekly conversion, payment, and click activity for a specific affiliate merged into a single timeline ordered by `date` descending and capped at 10 entries.

Amazon product, 1 operation

  • list_affiliate_amazon_productsList affiliate amazon productsGETRetrieves a paginated list of the authenticated merchant's Amazon-marketplace-enabled products, scoped to a verified affiliate of the same client.

Business category, 1 operation

  • list_business_categoriesList business categoriesGETRetrieves a list of all active business categories for classification purposes. Results are cached for improved performance.

Click, 1 operation

  • list_clicksList clicksGETLists clicks between createdAtMin and createdAtMax (both required, ISO 8601) with affiliate, timestamp, IP, user agent and referrer; optional affiliateId filter, paginated.

Country, 1 operation

  • list_countriesList countriesGETRetrieves a list of all active countries with their ISO 3166-1 alpha-2 codes and names. Results are cacheable on the client side.

Currency, 1 operation

  • list_currenciesList currenciesGETRetrieves a list of supported currencies with their codes, symbols, and formatting information. Results are cached for optimal performance.

Manual credit, 1 operation

  • create_manual_creditCreate manual creditPOSTCreates a manual commission (commissionTotal in currency) for an affiliate with status PENDING, APPROVED or DENIED; APPROVED and DENIED notify the affiliate.

Order, 1 operation

  • search_ordersSearch ordersGETSearches orders by order ID (search) and tells whether affiliateId can be credited, listing other affiliates that already have conversions for the order. Use the result with credit_order_to_affiliate.

Product category, 1 operation

  • list_product_categoriesList product categoriesGETRetrieves a hierarchical list of Google product taxonomy categories for product categorization. Results are cached for optimal performance.

Prospect, 1 operation

  • list_prospectsList prospectsGETReturns AI-suggested affiliate partner prospects. Discovery runs as a job: a 202 answer means it is still processing, call again later. more=true always starts a new discovery job.

Prospect feedback, 1 operation

  • submit_prospect_feedbackSubmit prospect feedbackPOSTAllows users to provide thumbs up/down feedback on AI-recommended prospects. Negative feedback requires a reason to help improve future recommendations.

Prospect pitch, 1 operation

  • get_prospect_pitchGet prospect pitchGETReturns the saved pitch message for contacting a prospect, or generates one with AI and saves it when none exists.

State, 1 operation

  • list_statesList statesGETRetrieves a list of states/provinces/subdivisions for a given country code. The country code must be a valid ISO 3166-1 alpha-2 format (e.g., "US", "CA", "GB").

Timezone, 1 operation

  • list_timezonesList timezonesGETRetrieves a list of all active timezones with their display labels and IANA identifiers. Results are cached for improved performance.

Tracking link, 1 operation

  • get_affiliate_linkGet affiliate linkGETGenerates a tracking link for an affiliate (affiliateId 0 uses the account's test affiliate). Optional test link, custom url, marketing asset or Amazon product (refer.as link).

Welcome email, 1 operation

  • resend_welcome_emailResend welcome emailPOSTSends the welcome email again to an affiliate; the email depends on its status. At most one resend per 15 minutes. The id goes in the path and again in the body.

Use Refersion from Claude Code, Cursor or Codex

Connect Refersion in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Refersion operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Refersion

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Refersion once

    Add your Refersion connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Refersion integration FAQ

What can you do with the Refersion integration?

LiveContext exposes 44 operations on Refersion, covering conversion, affiliate, offer and promotion method.

Popular integrations

Browse the whole catalog