Connector guide8-minute read20 MCP tools7 languages

Connect Awin to Microsoft Copilot via MCP

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Awin

Awin

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

tools

20

Region

INTL

Category

Advertising

Authentication

Bearer Token

Required env vars

AWIN_API_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Guided setup

Connect Awin to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Awin in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Awin

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Awin · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Awin, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Awin + Microsoft Copilot

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

AWIN_API_TOKEN

Step 1 — Get credentials

Setting up takes about 2 minutes.

  1. Sign in at https://ui.awin.com with a user that has admin access to the publisher or advertiser account (publishers: Account, User Permissions; advertisers: Account, Account Permissions).
  2. Open API Credentials in the user menu (top right) or go to https://ui.awin.com/awin-api, enter your password and click Show my API token.
  3. Copy the token into AWIN_API_TOKEN.

The token belongs to your user, not to one account: it reaches every publisher and advertiser account your user can open. Advertiser APIs are only available on the Awin Accelerate and Advanced plans. A new or removed account access takes up to 10 minutes to reach the API.

Where to start: awin_list_accounts lists your accounts. Pass the accountId of a publisher account as publisher_id, of an advertiser account as advertiser_id. Publishers then use awin_list_programmes (relationship joined) and awin_list_publisher_transactions; advertisers use awin_list_advertiser_transactions and awin_get_publisher_performance_report.

Publishers: programmes with awin_list_programmes, awin_get_programme_details (EPC, conversion and approval rate, validation days, commission range) and awin_list_commission_groups. Sales with awin_list_publisher_transactions, awin_get_publisher_transactions (by id) and awin_list_transaction_queries. Reports: awin_get_advertiser_performance_report, awin_get_publisher_campaign_report, awin_get_publisher_creative_report (all need a region). Offers and vouchers: awin_list_offers. Links: awin_generate_tracking_link (pass clickref to recognise the sale later) and awin_get_link_builder_quota.

Advertisers: awin_list_advertiser_transactions, awin_get_advertiser_transactions, awin_get_publisher_performance_report, awin_get_advertiser_campaign_report, awin_list_publishers and awin_list_validation_jobs.

Validating transactions (installed switched off): awin_validate_transactions approves, declines or amends sales. Approving releases commission that the advertiser pays, so turn it on only for workspaces that run validation, and confirm every batch with the user. It answers a job id; awin_list_validation_jobs shows the result.

Dates and limits: transaction lists take yyyy-MM-ddThh:mm:ss (no time zone suffix) plus timezone, and at most 31 days per call: split longer periods. Reports take YYYY-MM-DD. commissionStatus is pending until the advertiser validates, then approved or declined; approved commission is paid out later. Awin allows 20 calls per minute per user: avoid loops over many accounts or days. Ids are numbers; several ids in one filter are comma-separated.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the Awin tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
awin_list_accountsList the Awin accounts your user can reach with this token: accountId, accountName (programme name for an advertiser, company name for a…
awin_list_programmesPublisher: list advertiser programmes with your relationship to them: id (advertiser id), name, description, displayUrl, clickThroughUrl…
awin_get_programme_detailsPublisher: one programme's details and KPIs: programmeInfo (name, description, deeplinkEnabled, membershipStatus, validDomains), kpi…
awin_list_commission_groupsPublisher: the commission groups of one programme you are joined to, with what you earn in each: groupId, groupCode, groupName, type…
awin_list_publisher_transactionsPublisher: transactions (sales and leads) in a date range of at most 31 days: id, advertiserId, commissionStatus (pending, approved…
awin_get_publisher_transactionsPublisher: read transactions by their Awin ids (same fields as awin_list_publisher_transactions). Read-only
awin_list_transaction_queriesPublisher: transaction queries (claims for untracked or wrongly declined sales) in a range of at most 31 days: id, advertiserId, status…
awin_get_advertiser_performance_reportPublisher: performance per advertiser for a period and region: advertiserId, advertiserName, impressions, clicks, pending, approved…
awin_get_publisher_campaign_reportPublisher: clicks, transactions, commission and sale amounts per campaign (the campaign= click parameter) and advertiser, by commission…
awin_get_publisher_creative_reportPublisher: performance per creative (banner, text link, product link) for a period and region: creativeId, creativeName, advertiser…
awin_list_offersPublisher: published offers (promotions and voucher codes): promotionId, type, advertiser, title, description, terms, voucher code, url and…
awin_generate_tracking_linkPublisher: build an Awin tracking link (deeplink) to an advertiser page you may promote: url, and shortUrl when shorten is true. Nothing is…
awin_get_link_builder_quotaPublisher: the link builder quota Awin applies to your publisher account (links you may still generate). Read-only
awin_list_advertiser_transactionsAdvertiser: transactions in a date range of at most 31 days: id, publisherId, commissionStatus, commissionAmount, saleAmount, orderRef…
awin_get_advertiser_transactionsAdvertiser: read transactions by their Awin ids (same fields as awin_list_advertiser_transactions). Read-only
awin_get_publisher_performance_reportAdvertiser: performance per publisher for a period: publisherId, publisherName, impressions, clicks, pending, approved, declined and total…
awin_get_advertiser_campaign_reportAdvertiser: clicks, transactions, commission and sale amounts per publisher campaign value, by commission status, optionally per day, month…
awin_list_publishersAdvertiser: the publishers in your programme: id, name, primaryRegion, salesRegions and primaryType (promotion type such as cashback…
awin_list_validation_jobsAdvertiser: your transaction validation batch jobs (from awin_validate_transactions) with their status and per-transaction outcome.…
awin_validate_transactionsAdvertiser: approve, decline or amend transactions in one batch. Approving releases the publisher's commission, which your account pays; a…

Example prompts

  • "Which Awin programmes have we joined, and what are their commission rates?"
  • "Show last month's pending and approved transactions for our publisher account."
  • "Create a tracking link for advertiser 1234 to the page of their winter sale."
  • "Which publishers drove the most sales for our advertiser account in October?"
  • "Which open transaction queries are still waiting for an answer?"

FAQ

Where does the API token come from? On ui.awin.com: user menu, API Credentials, enter your password and click Show my API token. The token belongs to your user and reaches every Awin account your user can open.

Does it work for publishers and advertisers? Yes. Publishers read programmes, commission groups, transactions, queries, offers and reports, and build tracking links. Advertiser endpoints are available only on the Awin Accelerate and Advanced plans.

Which tools install switched off? awin_validate_transactions, because approving or declining transactions decides what publishers are paid. Switch it on on the connector page only if the AI should use it.

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect Awin to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Awin in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

Awin MCP Server: Transactions, Reports and Offers

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Connectors

Connect Awin to ChatGPT via MCP

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Connectors

Connect Awin to Claude via MCP

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Connectors

Connect Awin to Cursor via MCP

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Connectors

Connect Awin to Gemini CLI via MCP

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.

Connectors

Connect Awin to Meta Muse via MCP

Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.