> For the complete documentation index, see [llms.txt](https://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/sms/status.md).

# Status

{% code lineNumbers="true" %}

```json
// Body sample
{ 
     "msg_id": [ 
              "1fqwe-qwe", 
              "nwepq22q"
                     ] 
}
```

{% endcode %}

## Status

<mark style="color:green;">`POST`</mark> [https://api.smarthivesms.com](https://smsapi-sur2.onrender.com)`/api/sms/status`

This endpoint allows you to check the delivery status of the messages sent.

#### Headers

| Name                                        | Type   | Description  |
| ------------------------------------------- | ------ | ------------ |
| x-api-key<mark style="color:red;">\*</mark> | String | Your API Key |

#### Request Body

| Name                                      | Type  | Description          |
| ----------------------------------------- | ----- | -------------------- |
| msg\_id<mark style="color:red;">\*</mark> | Array | Array of message ids |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "status": "ok",
    "description": "The request has suceeded",
    "data": [
        {
            "msg_id": "1fqwe-qwe",
            "status": "DELIVERD"
        },
        {
            "msg_id": "nwepq22q",
            "status": "DELIVERD"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
