Praecise Inbox/ Reference/ Mailboxes
Mark read or unread
post/mailboxes/{mailbox}/messages/{id}/read
Set or clear the read flag on a message.
Before you call
- Credential
Authorization: Bearer $KEY
Parameters
- mailboxstringrequiredIn the path. Mailbox address.
- idstringrequiredIn the path
Request bodyapplication/json, required
- folderstringFolder id: inbox, sent, draft, archive, spam, trash, or a custom folder name. Default: inbox.
- readbooleanDefault: true.
Responses
- 200application/jsonMark read or unread
object - 401No valid access key.
- 403The key may not do this on this mailbox.
- 429Too many calls; see Retry-After.