Pricing plans  Services  API  Partners  About the service  Contacts 
8 (800) 700 7672
Free in Russia

Integration with the service (API)

The API allows you to send messages through your projects and services over the HTTP/HTTPS, SMTP, and SMPP protocols. Ready-made libraries in different programming languages connect to your project and help you send messages from anywhere with a single command.

HTTP/HTTPS SMTP SMPP SOAP OMS SMS Commands Libraries and code examples








Creating and uploading invoices and reports

To create a new account for a subclient, you need to call method GET or POST address:<login>&psw=<password>&user=<user>&sum=<sum> or:<login>&psw=<password>&user_id=<user_id>&sum=<sum>
To upload an existing account subclient, you need to call method GET or POST address:<login>&psw=<password>&user=<user>&id=<id> or:<login>&psw=<password>&user_id=<user_id>&id=<id>
To upload an existing sub-client report, call the GET or POST address method:<login>&psw=<password>&user=<user>&id=<id><login>&psw=<password>&user_id=<user_id>&id=<id> or:<login>&psw=<password>&user=<user>&num=<num><login>&psw=<password>&user_id=<user_id>&num=<num>
The following parameters are passed to the server:

OptionThe value
loginCustomer Login.
pswClient Password (you can add or change it on this page).
userThe username of the sub-client to create or upload an invoice for. You can use the user_id parameter instead of this parameter.
user_idID of the sub-client to create or upload an invoice for. You can use the user parameter instead of this parameter.
sumThe amount to create an account for in the Client's currency.
serviceName of the service specified when creating the invoice.
idID of the requested invoice or act.
numNumber of the requested act.

If an error occurs, the Server returns the following string:
    "error": "description",
    "error_code": N
N error number, can take the following values:

The valueDescription
1Error in parameters.
2Invalid username or password. Also occurs when trying to send a message from an IP address that is not included in the list of allowed by the Client (if such a list was previously configured by the Client).
4The IP address is temporarily blocked.
5 .
6Sublogin not found.
7The specified document was not found.
9Attempt to send more than one request to create or receive an invoice or report within a minute.
This error also occurs when you try to send fifteen or more requests simultaneously from different connections under the same username (too many concurrent requests).

In case of a successful request to create an invoice, the Server returns a multipart structure that includes 2 parts with the corresponding headers. The first part contains the Server response in json format, containing the ID and amount of the created invoice, the second part includes a file with the invoice in pdf format.

If the invoice request is successful, the Server returns the invoice file in pdf format..

In case of a successful request to receive the act, the Server returns a file with the act in pdf format.

The server does not accept more than one request to create or change an invoice or act within a minute to reduce the load and protect against errors and loops in the Client-side program.

20032023 SMS Center LLC
License no. 166255
Design Artemy Lebedev Studio
Site Information
SMS Center for Android Yandex. Metrica