/messages/:id

Updates a message you sent or sent as a delegate. Only the fields you include change; each one replaces the stored value, so to, cc and bcc replace the whole list. Fields not listed below are ignored.

The fields you include are checked as on create: at most 100 unique recipients across the lists you send, all with valid addresses. On success the response is 204 with no body.

Send booleans as JSON true or false; this endpoint stores the value as given.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The message's _id.

Body Params

Message fields you can set when creating or updating a message.

to
array of objects

Recipients in the "To" field. Must be an array.

to
cc
array of objects

Recipients in the "Cc" field. Must be an array.

cc
bcc
array of objects

Recipients in the "Bcc" field. Must be an array.

bcc
string

The subject.

string

The HTML body.

from
object

The sender. Defaults to your account's address and name.

boolean

Whether opens are tracked.

boolean

Whether link clicks are tracked.

boolean

Whether file downloads are tracked.

boolean

Whether you get desktop notifications for this message's activity.

boolean

Whether smart follow-ups are on for this message.

boolean

Whether teammates can see the message content in the team live feed.

boolean

Whether the message is shared to the team live feed.

string

For a reply, the Gmail message id of the message being answered. On create, Mixmax fetches that message to add the quoted text and threading headers. Set subject to match the thread.

followUp
object

A reminder to follow up on this message.

attachments
array of objects

File attachments.

attachments
snippetIds
array of strings

Ids of the templates used in this message.

snippetIds
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
204

The message was updated. The response has no body.

404

The message does not exist or you cannot access it. The body is empty.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
text/html
application/json
Psst... like working with APIs? Come join us!