> 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/request-message-status.md).

# Request message status

## Request message status

<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                                                                          |
| 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                                                                       |
| smsid<mark style="color:red;">\*</mark> | Int    | SMS message number. Used to check the SMS status.                                                 |

{% tabs %}
{% tab title="200: OK GET status request response" %}
The response will be the **`state`** of the state according to the passed **`id_sms`**, the response options in the table below.
{% endtab %}
{% endtabs %}

### Deciphering parameters in query responses

<table><thead><tr><th width="140.33333333333331">Parameter</th><th width="158">Data type</th><th>Description</th></tr></thead><tbody><tr><td>state</td><td>String</td><td><p>Last message status: </p><ul><li>"send" - message status not received. In this case, an empty time (time="") is transmitted </li><li>"not_deliver" - the message was not delivered. Final status (does not change with time) </li><li>"expired" - the subscriber was not in the network at the moments when the delivery attempt was made. Final status (does not change with time) </li><li>"deliver" - the message has been delivered. </li><li>"read" - the message has been read. Final status (does not change over time) </li><li>"partly_deliver" - the message was sent, but the status was not received.</li></ul></td></tr></tbody></table>

### Example of a browser request

{% code overflow="wrap" %}

```
http://lk.mysmpp.ru/sendsms.php?user=login&pwd=password&smsid=ID_SMS
```

{% endcode %}
