---
title: "Mark a conversation read or archived"
method: POST
path: "/messages/{conversation_id}/state"
tags: ["Messaging"]
---

# Mark a conversation read or archived

`POST /messages/{conversation_id}/state`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/messages/{conversation_id}/state`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `conversation_id` string, required

## Request body

- SetConversationStateInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `archived` boolean
  - `read` boolean
  - `workspace_id` string, required

## Response `204`

No Content

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
