Skip to main content
PATCH
TypeScript

Authorizations

Authorization
string
header
required

Your Inbound API key. Include it in the Authorization header as: Bearer

Path Parameters

id
string
required
messageId
string
required

Body

isRead
boolean

Sets or clears \Seen in the mailbox (shared with IMAP). The dashboard's read state is separate.

isArchived
boolean

Move to the Archive folder (true) or from Archive back to INBOX (false)

isJunk
boolean

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

id
string
required
folder
enum<string>
required
Available options:
inbox,
archive,
junk,
sent
folderPath
string · null · null
required

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

threadId
string · null · null
required
subject
string · null · null
required
from
string
required
to
string[]
required
date
string · null · null
required
preview
string · null · null
required
isRead
boolean
required
isJunk
boolean
required
hasAttachments
boolean
required