## Mark chat as read

`chats.mark_as_read(strchat_id)`

**post** `/v3/chats/{chatId}/read`

Mark all messages in a chat as read.

### Parameters

- `chat_id: str`

### Example

```python
import os
from linq import LinqAPIV3

client = LinqAPIV3(
    api_key=os.environ.get("LINQ_API_V3_API_KEY"),  # This is the default and can be omitted
)
client.chats.mark_as_read(
    "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
```

#### Response

```json
{
  "error": {
    "status": 401,
    "code": 2004,
    "message": "Unauthorized - missing or invalid authentication token",
    "doc_url": "https://docs.linqapp.com/error/codes/2xxx/2004/"
  },
  "success": false
}
```
