v1

latestOpenAPI 3.0.02026-07-13474670.4 KB
Messages

Set message read/unread status

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.

put/addresses/{email}/messages/{messageId}/read/{readBoolean}

Response

Set read/unread status

_idstring string

Unique Mailsac-generated identifier for an email message

folderboolean

True to mark message as read, False to mark message unread. Default False

Example response

{
  "_id": "m3phnJ2ag3example-0"
}