# Mark conversations read or unread (https://notert.io/docs/api/reference/mark-conversations-read-or-unread)

`POST /api/v1/conversations/mark`

Marks several conversations read or unread for the team at once, as the inbox's Mark as read and Mark as unread over a selection do. A read reads each only up to its seenAt, so one whose customer wrote since stays unread. A conversation the workspace doesn't have is passed over; the answer names those marked.

Access: A token with conversations:write.

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `unread` | boolean | Yes | true marks them unread for the team, false marks them read. |
| `conversations` | object[] | Yes | Up to 100 conversations, each by its id, with the seenAt it was read up to, which marking it read needs. |
| `conversations.id` | string | Yes | The conversation's id. At most 64 characters. |
| `conversations.seenAt` | date-time | No | The sentAt of the newest message you read, or the conversation's lastActivityAt. Needed to resolve, archive, mark as spam or snooze it: if the customer wrote after it, that is refused, so their new message isn't put away unread. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `items` | object[] | The page's conversations, the latest active first unless sorted. |
| `items.id` | string | The conversation's id. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't reply to or organize conversations. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 403 | `NO_SEAT` | This workspace's plan has no seat for you. |
| 403 | `WORKSPACE_SUSPENDED` | This workspace is suspended. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X POST https://app.notert.io/api/v1/conversations/mark \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "unread": false,
  "conversations": [
    {
      "id": "3b7e2a90-5c1d-4f8e-9a6b-1d2c3e4f5a60",
      "seenAt": "2026-11-20T09:12:00.123Z"
    }
  ]
}'
```

## Example response 200

```json
{
  "items": [
    {
      "id": "3b7e2a90-5c1d-4f8e-9a6b-1d2c3e4f5a60"
    }
  ]
}
```
