getmessagedetail

area emailaction getmessagedetailGETread

This api returns the html and text content of message given the id of the message.

Arguments

ArgumentTypeRequiredDescription
idintegerYesmessage id found from the getmessages api call

Example request

https://api.mailclickconvert.com/api.php
  ?apikey=YOUR_API_KEY
  &area=email
  &action=getmessagedetail
  &id=1234

Response

<response>
  <message>
    <id>45911</id>
    <title>aagag</title>
    <datecreated>August 11, 2011, 09:18:08 pm</datecreated>
    <numberoftimesused>0</numberoftimesused>
    <datelastused>Never</datelastused>
    <locked>0</locked>
    <previewtext/>
    <htmlmsg><![CDATA[
<html><body><p>test link <a href="http://www.test.com">http://www.test.com</a></p>
<p>&nbsp;</p>
<p>Image test</p>
<p><img src="http://site.com/logo.jpg" alt="" width="186" height="52" /></p></body></html>
]]></htmlmsg>
    <textmsg><![CDATA[
test link http://www.test.com
]]></textmsg>
  </message>
</response>

Need a call that isn't here?

Custom integration work is quoted on scope, and support is a person on weekdays, 9am to 5pm CST.