InboxesMessages

Update Message

patch/v0/inboxes/{inbox_id}/messages/{message_id}

Path parameters

inbox_idstring required

ID of inbox.

message_idstring required

ID of message.

Request body

add_labelsstring[] nullable

Labels to add to message.

remove_labelsstring[] nullable

Labels to remove from message.

Response

inbox_idstring required

ID of inbox.

thread_idstring required

ID of thread.

message_idstring required

ID of message.

labelsstring[] required

Labels of message.

timestampstring date-time required

Time at which message was sent or drafted.

fromstring required

Address of sender. In format username@domain.com or Display Name <username@domain.com>.

reply_tostring[] nullable

Reply-to addresses. In format username@domain.com or Display Name <username@domain.com>.

tostring[] required

Addresses of recipients. In format username@domain.com or Display Name <username@domain.com>.

ccstring[]

Addresses of CC recipients. In format username@domain.com or Display Name <username@domain.com>.

bccstring[]

Addresses of BCC recipients. In format username@domain.com or Display Name <username@domain.com>.

subjectstring

Subject of message.

previewstring

Text preview of message.

textstring

Plain text body of message.

htmlstring

HTML body of message.

extracted_textstring nullable

Extracted new text content.

extracted_htmlstring nullable

Extracted new HTML content.

in_reply_tostring

ID of message being replied to.

referencesstring[]

IDs of previous messages in thread.

headersMessageHeaders

Headers in message.

sizeinteger required

Size of message in bytes.

updated_atstring date-time required

Time at which message was last updated.

created_atstring date-time required

Time at which message was created.

Changes