PUT - Mark single email/ multiple emails as Read

 Purpose

The API helps to mark a particular email or a set of emails as Read. 

 Request URL 

https://mail.zoho.com/api/accounts/<accountId>/updatemessage

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
messageId*JSONSingle Message Id, or a set of message IdsSingle or Multiple Message Ids which need to be marked as Read.
mode* String

 markAsRead

Provide the mode as markAsRead to mark the provided messages as Read.

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request


				{
  "mode" : "markAsRead",
  "messageId" : [
    "5164940000000540023"
  ]
}