---
title: "Set message read/unread status"
method: PUT
path: "/addresses/{email}/messages/{messageId}/read/{readBoolean}"
tags: ["Messages"]
---

# Set message read/unread status

`PUT /addresses/{email}/messages/{messageId}/read/{readBoolean}`

Change the read state of a message.

Pass `readBoolean` as `true` to mark the message as read, and `false` to mark it as unread.
The default for any new message `false` (unread).

No PUT body is needed.

## Response `200`

Set read/unread status

- object
  - `_id` string, string — Unique Mailsac-generated identifier for an email message
  - `folder` boolean — True to mark message as read, False to mark message unread. Default False

## Other responses

- `401` — Not authorized. You may need to log in first.
- `404` — Message not found by id...

---

[API](https://skmtc.net/mailsac/apis/mailsac-api-specification.md) · [All operations](https://skmtc.net/mailsac/apis/mailsac-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mailsac/mailsac-api-specification/versions/5f8b55c76229/schema)
