Update a Draft Message

This endpoint updates an existing draft message. Note: To send the updated draft, set the "send" query parameter to true.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean
Defaults to false

Set to True to send the draft message.

Body Params
int64 | null

The thread Id of the message.

string | null

The email or username of the user who is sending the message.

to
array of strings | null

The primary recipients of the message.

to
cc
array of strings | null

The secondary recipients of the message.

cc
bcc
array of strings | null

The recipients of the message who will not be displayed to other receivers.

bcc
string | null

The subject of the message.

string | null

The text body of the message.

string | null

The HTML body of the message which allows the usage of HTML for additional formatting.

string | null

The notification template to be used if applicable.

attachments
array of objects | null

The attachments to be included in the message.

attachments
boolean | null

Whether the message has been read or not.

int64 | null

The Id for the AI chat if applicable.

int64 | null

The form Id if applicable.

int64

The Id of the message.

boolean | null

If set to True any existing attachments on the message will be deleted.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json