Skip to navigation

Get message content

Returns the full content of a recently sent message. For email messages, includes HTML, text, and attachments. For SMS messages, includes text content and SMS-specific fields.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
idstringRequired

the unique id of the message to get - passed as the "_id" field in webhooks, send calls, or search calls

Response

Success
MessagesEmailContentobject
The parsed content of a message
OR
MessagesSmsContentobject
The content of an SMS message

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error