# Count Message Unread

<mark style="color:green;">`POST`</mark> `https://api.ants.tech/access/api/app-inbox/message/count-unread`

#### Request Body

| Name                                         | Type   | Description             |
| -------------------------------------------- | ------ | ----------------------- |
| lookupId<mark style="color:red;">\*</mark>   | String | For example, `104`      |
| lookupType<mark style="color:red;">\*</mark> | String | For example, `customer` |
| portalId<mark style="color:red;">\*</mark>   | Number | For example, `33167`    |

{% tabs %}
{% tab title="200: OK When the authenticated process is success" %}

```json
{
    "code": 200,
    "message": "Success",
    "data": {
        "total": 13
    }
}
```

{% endtab %}
{% endtabs %}
