Skip to content
Awin logo

Connectors / Marketing · HTTP Connector

Awin integration and API

Generate a tracking link in Awin and start a workflow when Awin sends “Transaction tracked”. Connect Awin to the rest of your marketing stack with Tray.ai.

What can you do with Awin on Tray.ai?

Awin is an affiliate marketing network connecting advertisers with publishers, tracking commissions, transactions and campaign performance. Tray.ai connects to Awin through the HTTP Connector, so your workflows can call the Awin API alongside the rest of your stack.

  • When Awin sends “Transaction tracked”, record the expected commission in your finance reporting.
  • Validate transactions in batch after your order system confirms which sales were returned.
  • Generate a tracking link for each new product page your marketing team launches.
Connects through
HTTP Connector
Authentication
A bearer token or an API key in a request header
Base URL
https://api.awin.com

Set it up

Connect Awin to Tray.ai

Each step uses Awin's own API details, from its documentation.

Step 1

Save Awin's API token

Save the token Awin issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.awin.com as the base URL. Or paste a cURL example from Awin's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List transactions”

It's one of 15 documented actions, under Transactions. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Awin events

Give Awin the URL of a Tray.ai webhook trigger. “Transaction tracked” can then start a workflow.

Workflows to build with Awin

Connect Awin with Snowflake, Shopify and Google Sheets

Each one uses actions and events from Awin's own API documentation.

Send Awin transactions to Snowflake

When

Transaction tracked

Then

  1. Get transactions by ID
  2. Load the transaction into the affiliate table in Snowflake

With Snowflake

Decline Awin commissions for refunded Shopify orders

When

An order is refunded in Shopify

Then

  1. List transactions for the order
  2. Validate transactions in batch to decline the matching sale

With Shopify

Share weekly Awin campaign results in Google Sheets

When

On a schedule

Then

  1. Get campaign performance report
  2. Add the results to the affiliate report in Google Sheets

With Google Sheets

Apps you can build on Awin data

Internal tools your team can build with an AI assistant, each one using Awin calls from its API documentation.

Transaction validation queue

Lists tracked affiliate transactions and lets a partner manager approve or decline them in batches.

Affiliate performance dashboard

Shows advertiser, campaign, and creative performance reports side by side for the affiliate team.

Tracking link request tool

Lets a marketer create tracking links for a programme and shows the remaining link builder quota.

Give your AI agents Awin tools

Build an MCP server on Awin in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List transactions
  • Get advertiser performance report
  • Generate a tracking link
  • Get programme information
  • List commission groups
  • Retrieve offers
  • Get transactions by ID
  • Validate transactions in batch

What the Awin API covers

6 resources and 15 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Transactions

  • List transactions
  • Get transactions by ID
  • Validate transactions in batch

Performance reports

  • Get advertiser performance report
  • Get campaign performance report
  • Get creative performance report

Tracking links

  • Generate a tracking link
  • Generate tracking links in batch
  • Get link builder quota

Programmes

  • Get programme information
  • Get programme details

Commissions

  • List commission groups
  • List commission sharing rules

Offers

  • Retrieve offers
  • Post offers

Events Awin can send to a Tray.ai webhook trigger

  • Transaction tracked

Checked against Awin's own documentation on 2026-10-22

help.awin.com/apidocs

Frequently asked questions

What can a Tray.ai workflow do in Awin?

+

The Awin API documents 15 actions across 6 resources (Transactions, Performance reports, Tracking links, Programmes, Commissions, Offers). For example: List transactions; Get advertiser performance report; Generate a tracking link. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Awin?

+

The Awin API uses a bearer token and an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Awin events can start a Tray.ai workflow?

+

Awin sends one event to a webhook URL, for example: Transaction tracked. A Tray.ai webhook trigger receives them and starts a workflow.

See Awin working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.