It is highly recommended to configure access restriction to API by IP.
Access restrictions are configured on the " Access limitation »:
The logic of work is as follows:
Addresses and subnets in the CIDR format are added to the list of allowed by pressing the " Add IP to the list of allowed ". All added addresses are displayed in the list below. You can add a note to each of them or remove it from the list.
You can get acquainted with the list of methods, their descriptions, test their work and get code examples on the tab “ Documentation ". The tab consists of several blocks.
The documentation is being finalized, so not all methods have detailed descriptions.
On the left side of the block " Executing a request "There is a form for quickly sending a request on behalf of the current account, in the right one displays the response code and the result of the sent request:
In the block " Sample code »Shows a sample code for using the current method using cURL or a library HostingAPI:
$auth_token. If the token is not active, it will need to be activated and manually substituted into the code.
$post. If the request was not executed, the parameters will need to be specified independently.