messages

Mark a message read or unread

Sets the message's read state. Setting read: true records read_at (the first time only; a repeat read: true is a no-op, not an error). Setting read: false clears read_at. Idempotent either way. Returns the full updated message.

patch/messages/{id}

Request

  • Base URL: https://dash.mailsocket.app/api/v1
  • URL: https://dash.mailsocket.app/api/v1/messages/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The message public ID (e.g. msg_...).

Request body

readboolean required

Response

The updated message.

Changes

No recorded changes to this operation across all 1 revision of this API.