On Affise, you can manage the platform via API. To start working with API, you need an API key and API URL.
To work with requests, you can use free API-development tools such as Postman, Insomnia, Advanced REST client, etc.
Types of data and methods
In the Affise API, you may work with the following types of data:
Integer: only for integer values: offer ID, affiliate ID, etc.
String: includes integer values, letters, and characters: country code, cap type, payment type, etc.
Array: used with multiple values: affiliates in caps, goals in caps, etc.
Float: includes a floating-point or decimal number: payout for affiliate, revenue, etc.
Mixed: String or Array: filters in statistics.
In the Affise API, you can use three methods:
GET: used to request data: statistics, advertisers list, etc.
POST: used to send data to create or update a resource: generate and update invoices, add offers, add users, etc.
DELETE: used to delete the specified resource: delete postback, delete pixel, etc.
API request structure:
GET/POST/DELETE + API URL + path + ? + API key=189471975956279174174.
API request example:
🔎Use the header content-type -
multipart/form-data content type for managing logos.
For data exchange authentication, you should pass an API key as a parameter in the header.
Admin panel API key
Admin panel API key is located here: Users > Users management > a certain user.
API keys and users
Only a General manager has permission to get an API key on the User edit page.
A General manager has access to all sections and has permission to get an API key of any user and any affiliate.
API keys of Affiliate managers and Account managers work only for the API requests for the sections they have access to.
Affiliate panel API key
If you want to set up API integration with Affiliate, they also need an API key to get access to API.
Affiliate API key is located in the Affiliate panel: Settings > Security.
API URL is the core of your API request.
API URL is located here: Settings > Settings > Tracking domains > Default URL.
📃 Related topics
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].