---
title: "Mark the chat read up to its newest message"
method: POST
path: "/api/v1/chats/{id}/read"
tags: ["Chats"]
---

# Mark the chat read up to its newest message

`POST /api/v1/chats/{id}/read`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/chats/{id}/read`
- Auth: API key in header `api-key`

## Path parameters

- `id` string, required

## Response `200`

OK.

- object
  - `chat_id` string
  - `last_read_message_id` string

## Other responses

- `401`: Missing or invalid credentials.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
