Time to read: 2 min.
The article covers the following topics:
API General info
In the Affise API only three data types are used:
Int - used only for integer values.
String - includes integer values, letters, and characters.
Array - used with multiple values.
In the Affise API, only three methods are used: GET, POST, DELETE.
To start working with API, you may use any of free API-development tools such as Postman, Insomnia, Advanced REST client, etc.
API Request Structure: GET/POST + api domain + path + ? + api-key=189471975956279174174.
❗ It should be noted that header content-type - application/x-www-form-urlencoded is used on an ongoing basis.
How to find your API-key?
For data exchange authentication, users API-key passed as a parameter in the header should be used. As the key, a hash generated for your site. You can find your API-key in the 'Profile' Tab -> 'Security':
How to find your API URL?
Next thing you need - API URL. Just request your manager to share with you API URL.
Keep in mind that the 'Toolbox' section leads to API Doc. Find API v.3.1. Doc here.
You may also find the following articles helpful:
If you have more questions on the Getting Started with API, feel free to contact your Affiliate manager via the Tickets in the Support section.