> 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-sms.md).

# Sending SMS

## Sending SMS

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

#### Request Body

| Name                                            | Type   | Description                                                                                                                                                                                      |
| ----------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| user<mark style="color:red;">\*</mark>          | String | Your login in the system                                                                                                                                                                         |
| validity\_period                                | Int    | <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> |
| text<mark style="color:red;">\*</mark>          | String | Message Text                                                                                                                                                                                     |
| dadr<mark style="color:red;">\*</mark>          | Int    | Recipient address (multiple addresses, separated by commas)                                                                                                                                      |
| sadr<mark style="color:red;">\*</mark>          | String | Sender's address                                                                                                                                                                                 |
| type\_send\_1<mark style="color:red;">\*</mark> | String | Type of message to be sent (**`sms`**)                                                                                                                                                           |
| token<mark style="color:red;">\*</mark>         | String | You can use a secret key instead of login and password. To obtain it, please contact your manager                                                                                                |
| pwd<mark style="color:red;">\*</mark>           | String | Your password in the system                                                                                                                                                                      |

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

### Example of a browser request

{% code overflow="wrap" %}

```
http://lk.mysmpp.ru/sendsms.php?user=login&pwd=password&sadr=sender&dadr=phone&text=message
```

{% endcode %}
