Mark a mailbox message read, archived or junk
Requires a read_write mailbox. Updates the mailbox’s own state, shared with IMAP: isRead sets \Seen, isArchived moves between INBOX and Archive, and isJunk moves between INBOX and Junk for this mailbox only. The dashboard’s state and the account-level spam verdict are separate.
Authorizations
Your Inbound API key. Include it in the Authorization header as: Bearer
Body
Sets or clears \Seen in the mailbox (shared with IMAP). The dashboard's read state is separate.
Move to the Archive folder (true) or from Archive back to INBOX (false)
Move to Junk (true) or back to the inbox (false). Sets this mailbox's own junk verdict, shared with IMAP; other mailboxes and the account-level spam verdict are unchanged.
Response
Response for status 200
inbox, archive, junk, sent The exact mailbox folder path (for example Trash or Projects/2026), shared with IMAP and /mailboxes/{id}/folders; null when the message isn't in a folder of this mailbox