Get the personalized content of a sent transactional email

<Note title="How to get uuid?"> You can get the uuid using either of the following methods: Send a GET request to https://api.brevo.com/v3/smtp/emails and pass the message_id in the url. Use your api-key to authenticate the request and you will get your uuid as a response. The uuid can also be fetched from the transactional logs page in your Brevo account, from the address URL. </Note>

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

uuidstringRequired
Unique id of the transactional email that has been sent to a particular contact

Response

Transactional email content
attachmentCountlong
Count of the attachments that were sent in the email
bodystring
Actual content of the transactional email that has been sent
datestring
Date on which transactional email was sent
emailstringformat: "email"
Email address to which transactional email has been sent
eventslist of objects
Series of events which occurred on the transactional email
subjectstring
Subject of the sent email
templateIdlong or null
Id of the template