PUT /api/v1.0/draft/
Changed onCreate 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.
Request
- The document declares no server URL.
- AuthAPI key in cookie sessionid
Request body
Response
Changes
- breaking
the
///////response's property format changed fromemailto no format for status - breaking
the
///////response's property format changed fromemailto no format for status - breaking
the
///////response's property format changed fromemailto no format for status - breaking
the
///////response's property format changed fromemailto no format for status - breaking
the
/////response's property format changed fromemailto no format for status - breaking
the
/////response's property format changed fromemailto no format for status - breaking
the
///////response's property format changed fromemailto no format for status - breaking
the
///////response's property format changed fromemailto no format for status - info
the
/request property format was generalized fromemailto no format (media type: application/json) - info
the
/request property format was generalized fromemailto no format (media type: multipart/form-data) - info
the
/request property format was generalized fromemailto no format (media type: application/json) - info
the
/request property format was generalized fromemailto no format (media type: multipart/form-data) - info
the
/request property format was generalized fromemailto no format (media type: application/json) - info
the
/request property format was generalized fromemailto no format (media type: multipart/form-data)
- breaking
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info