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.
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.
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.
To create customers/conversions, an array with data in it needs to be passed.