# Update conversation read state

```http
PUT /conversations/{conversation_id}/read-state
```

Advance the read cursor of the caller to a message of the conversation when the user has seen messages; the cursor never moves backwards.

## Parameters

| Name              | In   | Required | Description |
| ----------------- | ---- | -------- | ----------- |
| `conversation_id` | path | Yes      |             |

## Request body

| Field        | Type   | Required | Description                                                                           |
| ------------ | ------ | -------- | ------------------------------------------------------------------------------------- |
| `message_id` | string | Yes      | Advances the read cursor to this message; an older message does not move it backward. |

## Responses

| Status | Description                                                                                                                                         |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | Advances the read cursor for the current user and returns its effective persisted state. An older message marker does not move the cursor backward. |
| 400    | Bad request                                                                                                                                         |
| 401    | Unauthorized                                                                                                                                        |
| 403    | Forbidden                                                                                                                                           |
| 404    | Not found                                                                                                                                           |
| 413    | Payload too large                                                                                                                                   |
| 500    | Server error                                                                                                                                        |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.                                         |
