Skip to content
Tapfiliate logo

Connectors / Marketing · HTTP Connector

Tapfiliate integration and API

Create an affiliate, add an affiliate to a program and create a conversion in Tapfiliate, and start a workflow when Tapfiliate sends “Affiliate created”.

What can you do with Tapfiliate on Tray.ai?

Tapfiliate is affiliate and referral tracking software that records clicks and conversions, calculates commissions, and manages affiliate programs and payouts for online businesses. Tray.ai connects to Tapfiliate through the HTTP Connector, so your workflows can call the Tapfiliate API alongside the rest of your stack.

  • When Tapfiliate sends “Conversion created”, log the referred sale against the account in your CRM.
  • Create a conversion in Tapfiliate when a referred customer pays through your billing system.
  • When Tapfiliate sends “Affiliate prospect created”, notify the partner team in your team chat.
  • Approve an affiliate once your partner team signs off on their agreement.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.tapfiliate.com/1.6

Set it up

Connect Tapfiliate to Tray.ai

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

Save Tapfiliate'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.tapfiliate.com/1.6 as the base URL. Or paste a cURL example from Tapfiliate's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List affiliates”

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

Start workflows from Tapfiliate events

Give Tapfiliate the URL of a Tray.ai webhook trigger. “Affiliate created” can then start a workflow, and so can 11 other events.

Workflows to build with Tapfiliate

Connect Tapfiliate with Stripe, HubSpot and Slack

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

Create Tapfiliate conversions from Stripe payments

When

A payment succeeds in Stripe

Then

  1. Create a conversion in Tapfiliate for the referred customer
  2. Add commissions to a conversion in Tapfiliate

With Stripe

Add new Tapfiliate affiliates to HubSpot

When

Affiliate created

Then

  1. Get an affiliate in Tapfiliate
  2. Create a contact for the partner in HubSpot

With HubSpot

Notify the partner team in Slack of new Tapfiliate commissions

When

Commission created

Then

  1. List commissions in Tapfiliate for the affiliate
  2. Post a message to the partner channel in Slack

With Slack

Apps you can build on Tapfiliate data

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

Commission approval board

Lists pending commissions with their conversions and lets a manager approve or disapprove each one.

Affiliate application review

Shows new affiliates as they sign up and lets the partner team approve or disapprove them for a program.

Affiliate payout tracker

Lists affiliate balances and past payments so finance can see who is owed and record a payment.

Give your AI agents Tapfiliate tools

Build an MCP server on Tapfiliate 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 affiliates
  • List programs
  • List conversions
  • List commissions
  • List payments
  • List customers
  • Get an affiliate
  • Create an affiliate

What the Tapfiliate API covers

6 resources and 27 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.

Affiliates

  • List affiliates
  • Get an affiliate
  • Create an affiliate
  • Delete an affiliate
  • Set an affiliate group

Programs

  • List programs
  • Add an affiliate to a program
  • Approve an affiliate
  • Disapprove an affiliate

Conversions

  • List conversions
  • Create a conversion
  • Update a conversion
  • Delete a conversion
  • Add commissions to a conversion

Commissions

  • List commissions
  • Update a commission
  • Approve a commission
  • Disapprove a commission

Payments

  • List payments
  • Create a payment
  • Cancel a payment
  • List balances

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Cancel a customer
  • Delete a customer

Events Tapfiliate can send to a Tray.ai webhook trigger

  • Affiliate created
  • Affiliate added to program
  • Affiliate approved for program
  • Affiliate disapproved for program
  • Affiliate added to group
  • Affiliate prospect created
  • Conversion created
  • Commission created
  • Commission updated
  • Customer created
  • Customer updated
  • Payment created

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

developers.tapfiliate.com/api-reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in Tapfiliate?

The Tapfiliate API documents 27 actions across 6 resources (Affiliates, Programs, Conversions, Commissions, Payments, Customers). For example: List affiliates; List programs; List conversions. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Tapfiliate?

The Tapfiliate 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.

Which Tapfiliate events can start a Tray.ai workflow?

Tapfiliate sends 12 events to a webhook URL, for example: Affiliate created; Affiliate added to program; Affiliate approved for program; Affiliate disapproved for program; Affiliate added to group; Affiliate prospect created; Conversion created; Commission created. A Tray.ai webhook trigger receives them and starts a workflow.

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