Skip to main content

Request structure

Communication with the service is performed by sending XML requests in UTF-8 encoding to the specified address of the service via HTTP/HTTPS protocol using POST method, no content type check is performed.

Each request may consist of sending messages and (or) requests to receive statuses. User authorization is performed by transferring the user's credentials.

Endpoint

Base URL for API requests: https://alphasms.net

Authorization

Each request must contain an auth string with your API key obtained from your personal cabinet as an addition to the main parameters of the method:

Request example

<?xml version="1.0" encoding="utf-8" ?>
<package key="bb56a4369eb19***cfec6d1776bd25">
...
</package>

Request structure

The set of request parameters depends on the specified request type (see API method description for more details).

Request example

<?xml version="1.0" encoding="utf-8" ?>
<package key="bb56a4369eb19***cfec6d1776bd25">
<command>
<parameter ...></parameter>
<parameter ...></parameter>
<parameter ...></parameter>
</command>
</package>