> 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://apidocs.webcom.mobi/en/sposoby-vzaimodeistviya-s-a2p-platformoi/http-get-specification/sending-sms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
