messages
Create or update a draft message.
This endpoint allows you to:
- Create a new draft message in a new thread
- Create a draft reply to an existing message in an existing thread
- Update an existing draft message
For creating a new draft:
- Do not include messageId
- Include parentId if replying to an existing message
For updating an existing draft:
- Include messageId of the draft to update
- Only the fields that are provided will be updated
At least one of draftBody must be provided.
To add attachments, upload them first using the /api/v1.0/blob/upload/{mailbox_id}/ endpoint
and include the returned blobIds in the attachmentIds field.
post/api/v1.0/draft/{message_id}/
Path parameters
message_idstring uuid required