Retrieve all messages
http(s)://advertmaxllc.com/api/<api_key>/message
Retrieve all messages, max record to return is 100.
Response
{
"totalRecords": 30,
"messages": [
{
"id": 41,
"subject": "email subject 1",
"fromEmail": "demo@example.com",
"fromName": "Demo"
},
{
"id": 42,
"subject": "email subject 2",
"fromEmail": "demo2@example.com",
"fromName": "Demo 2"
},
...
]
}
Retrieve messages by page
http(s)://advertmaxllc.com/api/<api_key>/message?start=0&limit=100
http(s)://advertmaxllc.com/api/<api_key>/message?start=100&limit=100
Return the first page and the second page, each page contains 100 records.
Response is the same as above. The max limit value is 100.
Retrieve message
http(s)://advertmaxllc.com/api/<api_key>/message/<message_id>
Response
{
"id": 41,
"subject": "Demo message subject" ,
"additionalSubjects": ["subject 1", "subject 2"],
"html": "<p>something...",
"text": "something",
"createDt": "2011-03-30 10:07 AM",
"fromEmail": "demo@example.com",
"fromName": "Demo",
"replyTo": "Demo"
}