Every API call must be supplemented with proper authentication data in order to determine on which user account the action must be performed. The following authentication methods are currently supported by our API:
API keys are used to authenticate your Web application and give you enhanced security, alowing you to define which API functions can be called with a specified function, quickly disable and revoke keys and modify their permissions as needed.
An API key is a set of two values: public and secret. In order to authenticate your API request, you need to send them as login and password using basic HTTP authentication. An example of doing this in PHP is as follows:
curl_setopt($curl, CURLOPT_USERPWD, $public.":".$secret);
If you are using a different programming language, follow the
appropriate conventions to send the
header with all your HTTP requests to the API.