API 3.1 documentation overview (admins)
Natalya Yefimenko avatar
Written by Natalya Yefimenko
Updated over a week ago

API documentation

Affise API documentation allows you to work with the Admin and Affiliate panels via API. The documentation provides all the necessary data to make correct requests and get the data back.

There are methods for the Admin panel users, for the Affiliate panel users (your affiliates), and common methods.

The methods are grouped according to the goals you want to achieve: watch statistics, manage offers, work with users, etc.

General managers can use methods marked as Admin methods.

In a method, you can see:


โ€‹

where:

  • 1: The API method and the path to be added to your API request.

  • 2: The list of parameters available for a method.

  • 3: Type of data for the parameter.

  • 4: If relevant, available and default data or formats that you should use.

  • 5: In the description, you can find additional information about the parameter: what it is in charge of, whether it is required or not, and so on.

In the right pane, you see the response:


โ€‹

where:

  • 1: the cURL request, which you can copy, adjust and use in the API tools, such as Postman or Insomnia.

  • 2: the example of the response for a particular method. Here you can see the depicted data.

You can use the dedicated document with status codes. This can help you understand the global errors in your API responses.


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?