Skip to content
Adtraction logo

Connectors / Marketing · HTTP Connector

Adtraction integration and API

Approve or reject transactions, approve or reject channels and assign a coupon code in Adtraction.

What can you do with Adtraction on Tray.ai?

Adtraction is a European affiliate marketing network that links brands with publishers, influencers and comparison sites who earn commission on the sales they drive. Tray.ai connects to Adtraction through the HTTP Connector, so your workflows can call the Adtraction API alongside the rest of your stack.

  • Get latest transactions each day and add affiliate sales to your finance reporting.
  • Approve or reject transactions after checking each order against returns in your ecommerce platform.
  • List new programs weekly and share them with the partnerships team in your team chat.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.adtraction.net/v2

Set it up

Connect Adtraction to Tray.ai

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

Save Adtraction's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

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

Start with “List transactions”

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

Hand it to an AI agent

Wrap “Get latest transactions” and “Get transactions by payment” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Adtraction

Connect Adtraction with Shopify and Google BigQuery

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

Approve affiliate sales that match kept Shopify orders

When

On a schedule

Then

  1. List transactions from the past week
  2. Check each order in Shopify for returns or cancellations
  3. Approve or reject transactions based on the order status

With Shopify

Load Adtraction transactions into Google BigQuery

When

On a schedule

Then

  1. Get latest transactions
  2. Load the transactions into a table in Google BigQuery

With Google BigQuery

Apps you can build on Adtraction data

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

Affiliate sale approvals

Lists pending affiliate transactions and lets the brand approve or reject each sale.

Publisher application review

Lists channels that applied to the program and lets the team approve or reject each one.

Adtraction MCP server for AI agents

Build an MCP server on Adtraction 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
  • List programs
  • List applied channels
  • List offers
  • Search products
  • Create a claim
  • Get latest transactions
  • Get transactions by payment

What the Adtraction API covers

6 resources and 18 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 latest transactions
  • Get transactions by payment
  • Approve or reject transactions

Programs

  • List programs
  • List program categories
  • List new programs

Channels

  • List applied channels
  • Approve or reject channels
  • List approved channels

Coupons and offers

  • List offers
  • Get an exclusive coupon
  • Assign a coupon code

Products

  • Search products
  • Get a product feed
  • Get feed details

Claims

  • Create a claim
  • Approve or reject claims

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

apidocs.adtraction.net/nextgen

Frequently asked questions

What can a Tray.ai workflow do in Adtraction?

The Adtraction API documents 18 actions across 6 resources (Transactions, Programs, Channels, Coupons and offers, Products, Claims). For example: List transactions; List programs; List applied channels. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Adtraction?

The Adtraction API uses 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.

See Adtraction 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.