ImportThreadMessageInput
ImportThreadMessageInputFields
The author of the message.
The message body. Plain text unless format is MARKDOWN.
How to interpret text. Omit to keep plain text.
The original creation timestamp of this message in the source system.
An external ID for this message. Duplicate imports with the same externalId are skipped unless updateExisting is set.
An array of attachments for the message.
The value of the RFC 5322 Message-ID email header of the original message, with or without angle brackets. When set, subsequent email replies that reference this Message-ID are threaded onto the imported thread.
Update an existing imported message with the same externalId instead of skipping it.
Only text, format, attachmentIds, and emailMessageId can be updated. text, format, and attachmentIds replace the existing values. emailMessageId is updated only when provided; omit it to keep the existing value.
The import fails if:
- No message with this
externalIdexists in the thread. - The thread is locked.
- The message's
typeorauthordiffers from the existing message.
NOTE messages are not supported. Use updateNote instead.
Was this page helpful?

