EmailController

Mark an email as read or unread

Sets read state for one email. Useful when implementing custom mailbox workflows that treat viewed messages as unread.

patch/emails/{emailId}/read

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/{emailId}/read
  • Auth: API key in header x-api-key

Path parameters

emailIdstring uuid required

Query parameters

readboolean

What value to assign to email read property. Default true.

Response

OK

Changes

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