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



MANAGING MAILING LISTS

MESSAGE STATUSES

CHECKING THE BALANCE STATUS



CLIENT MANAGEMENT

MANAGING SENDER NAMES (SENDER ID)

GETTING DATA

VARIOUS

-Sending a code by voice message

If it is necessary to send a digital code to confirm certain operations using a phone number (for example, when registering a new user, placing an order, gaining access to various services, etc.), instead of sending an SMS message, you can use a cheaper way of transmitting the code by voice message.

To transmit the code, it is necessary to send a special voice message (call) to the subscriber with the word code. When receiving a call, the subscriber needs to pick up the phone, the system will automatically sound the code. The four digits voiced by the system will be the secret code that the subscriber will need to confirm the operation in your service.

To send the specified code via the API, you need to make a request to send a voice message, get the generated code from the system response and save it on your side. It is this code that will be sent to the subscriber in a voice message when calling and will be required to confirm the operation.

Request format and Server response: https://smscentre.com/sys/send.php?login=<login>&psw=<password>&phones=<phones>&mes=code&call=1
If the request is processed successfully, a string of the following format is returned (the code parameter is added to the standard Server response):
  • when fmt = 0: OK - <n> SMS, ID - <id>, CODE - <code>

  • when fmt = 1: <id>,<n>,<code>

  • when fmt = 2 (xml):
    <result>
    <id>id</id>
    <cnt>n</cnt>
    <code>code</code>
    </result>

  • when fmt = 3 (json):
    {
    "id": <id>,
    "cnt": <n>,
    "code": "<code>"
    }

    When using this function, you can not pass the voice parameter, since when it is explicitly passed in the request, the usual voice of the message text will occur.




20032023 SMS Center LLC
License no. 166255
support@smscentre.com
Contacts
Design Artemy Lebedev Studio
Site Information
SMS Center for Android Yandex. Metrica