users/email_accounts/folders/messages/read

This call marks the message read or unread.

Supported methods

POSTDELETE

POST: Mark the message as read

POST https://api.context.io/lite
/users/id/email_accounts/label/folders/folder/messages/message_id/readtest it
idUnique id of a user accessible through your API key
labelThe label property of the email account instance. You can use 0 as an alias for the first email account of a user.
folderThe full folder path using / as the path hierarchy delimiter.
message_idUnique id of a message. This must be a email_message_id of an existing message in the thread.

Parameters

nametypedescription
optional:
delimiterstringIf / isn't fancy enough as a hierarchy delimiter when specifying the folder you want to obtain, you're free to use what you want, just make sure you set this delimiter parameter to tell us what you're using.

Response body

{
  "success": booleantrue if message has been marked as read (HTTP status 200), false on error
}

DELETE: Mark the message as unread

DELETE https://api.context.io/lite
/users/id/email_accounts/label/folders/folder/messages/message_id/readtest it
idUnique id of a user accessible through your API key
labelThe label property of the email account instance. You can use 0 as an alias for the first email account of a user.
folderThe full folder path using / as the path hierarchy delimiter.
message_idUnique id of a message. This must be a email_message_id of an existing message in the thread.

Parameters

nametypedescription
optional:
delimiterstringIf / isn't fancy enough as a hierarchy delimiter when specifying the folder you want to obtain, you're free to use what you want, just make sure you set this delimiter parameter to tell us what you're using.

Response body

{
  "success": booleantrue if message has been marked as unread (HTTP status 200), false on error
}