> For the complete documentation index, see [llms.txt](https://apidocs.webcom.mobi/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.webcom.mobi/en/sposoby-vzaimodeistviya-s-a2p-platformoi/http-get-specification/sending-cascade.md).

# Sending Cascade

## Sending Cascade

<mark style="color:blue;">`GET`</mark> `http://lk.mysmpp.ru/sendsms.php`

#### Request Body

| Name                                            | Type   | Description                                                                                                                                                                                      |
| ----------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| user<mark style="color:red;">\*</mark>          | Sting  | Your login in the system                                                                                                                                                                         |
| validity\_period                                | String | <p>SMS lifetime (default 2 days) Date and time in format:</p><p>YYYY-MM-DD HH:MM</p><p> where,<br>   YYYY - year,<br>   MM - month,<br>   DD - day,<br>   HH - hours, </p><p>   MM - minutes</p> |
| image\_viber                                    | String | Address of the picture for Viber message                                                                                                                                                         |
| action\_viber                                   | String | Link for Viber message button                                                                                                                                                                    |
| button\_viber                                   | String | Viber message button text                                                                                                                                                                        |
| text\_viber<mark style="color:red;">\*</mark>   | String | Viber message text                                                                                                                                                                               |
| sender\_viber<mark style="color:red;">\*</mark> | String | Viber message sender                                                                                                                                                                             |
| type\_send\_2                                   | String | Type of message to be sent (**`viber`** or **`sms`**)                                                                                                                                            |
| type\_send\_1<mark style="color:red;">\*</mark> | String | Type of message to be sent (**`viber`** or **`sms`**)                                                                                                                                            |
| token<mark style="color:red;">\*</mark>         | Sting  | You can use a secret key instead of login and password. To obtain it, please contact your manager                                                                                                |
| pwd<mark style="color:red;">\*</mark>           | Sting  | Your password in the system                                                                                                                                                                      |
| text<mark style="color:red;">\*</mark>          | String | SMS text                                                                                                                                                                                         |
| sadr<mark style="color:red;">\*</mark>          | String | SMS sender's address                                                                                                                                                                             |

{% tabs %}
{% tab title="200: OK Viber GET request response" %}
Viber message **`id_sms`** number will be sent in reply. Used to check the status of the message.
{% endtab %}
{% endtabs %}

### Example of a browser request

{% code overflow="wrap" %}

```
http://lk.mysmpp.ru/sendsms.php?user=login&pwd=password&sadr=sender_sms&dadr=phone&text=text_sms&type_send_1=viber&sender_viber=sender_viber&text_viber=text_viber&button_viber=button_viber&action_viber=action_viber&image_viber=http://image_viber
```

{% endcode %}
