November 9, 2026
Each request has to have a header with the user’s authentication key.
X-Api-Key: #Your key#
You can find and manage the X-Api-Key on your Profile page.Your X-Api-Key - has to be saved in secure storage (e.g. database, environment variables). Basic concepts Defining constants for further usability.
To create a customer, an array with data in it needs to be passed. Required parameters:
•
customer id The unique identifier of the customer in your system.
You have to also send one of the parameters:•
referral code An affiliate’s referral code.•
coupon An affiliate’s coupon code.•
asset id and source id Both of them together: one without the other is not enough.
Those parameters that come in the link will be taken from it and saved in cookies, the rest must be entered manually.
To create a conversion an array with data in it needs to be passed. Required parameters:
•
external id A unique id for this conversion.
You have to also send one of the parameters:•
referral code An affiliate’s referral code.•
coupon An affiliate’s coupon code.•
asset id and source id Both of them together: one without the other is not enough.A
customer id on its own is enough only for a customer that already exists in Tapfiliate, has an affiliate and is in a program with lifetime/recurring commissions; for a new customer, or without these commissions, also send one of these parameters, or the conversion is rejected.
Those parameters that are included in the link will be taken from it and saved in cookies, the rest must be entered manually.
To create customers/conversions, an array with data in it needs to be passed.