The content of a message: its subject, body and links. One mail can be sent in many deliveries. Get mail details, links and tracking statistics.
Get mail content
Returns the content of a mail: the subject, HTML and plain text bodies, SMS
text, tracking and archive settings, and lists of its inline images and
attachments. The image and attachment lists have file details only, not the file
data. To find the mail of a delivery, see mail_id in getDelivery.
Get mail content › Request Body
idMail ID.
encodeReturn the content Base64-encoded. Defaults to false.
Get mail content › Responses
OK
succeedResponse status.
Mail template.
Get mail name
Returns the name of a mail. Names identify mails that are used as automation
templates. Returns false if the mail has no name.
Get mail name › Request Body
mail_idMail ID.
Get mail name › Responses
OK
succeedResponse status.
resultMail name.
Get mail tracking statistics
Returns the open and click statistics of a mail: open, opener and non-opener counts, the tracked links with their click counts, the number of clickers, and opens and clicks by hour of the day.
Get mail tracking statistics › Request Body
idMail ID.
Get mail tracking statistics › Responses
OK
succeedResponse status.
Get mail links
Returns the tracked links of one mail with their click and clicker counts.
clicks does not include tell-a-friend clicks, which are counted in
friend_clicks. getLinkData returns the same data by delivery ID.
Get mail links › Request Body
idMail ID.
Get mail links › Responses
OK
succeedResponse status.
Get all tracked links
Returns every tracked link in all the mails of your account, with click counts
and the ID of the mail each link belongs to. The list can be long. For the links
of one mail, use getMailLinkData, and for one delivery,
getLinkData.
Get all tracked links › Responses
OK
succeedResponse status.