Skip to main content
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 in your account settings.
Your X-Api-Key - has to be saved in secure storage (e.g. database, environment variables).
Basic concepts Defining constants for further usability.
For parsing data from global arrays when going to the site, the desired transition parameters need to be stored in the user’s cookies.
When a target action happens a customer needs to be created and a conversion tracked. Create a customer
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 A source id or an asset id.
Those parameters that come in the link will be taken from it and saved in cookies, the rest must be entered manually.
Сreate a conversion
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 A source id or an asset id.
Those parameters that are included in the link will be taken from it and saved in cookies, the rest must be entered manually.
After that, a customer with a conversion attached to it should appear in your Tapfiliate interface. Example function for sending POSTBACK.
To create customers/conversions, an array with data in it needs to be passed.
Note: S2S/Postback tracking is an advanced feature. As such, set up of this feature falls outside the scope of our support. You may need a developer to assist in setting this up.