Home
User Manual
API
Pricing
Free Trial
 

List
Contact
Subscribe
Un-Subscribe
Message
Campaign
Plan
Retrieve all messages
http(s)://edm.js41105.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)://edm.js41105.com/api/<api_key>/message?start=0&limit=100
http(s)://edm.js41105.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)://edm.js41105.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"
}

Contact Us
Tel 37522533 Email sales@direct-lead.com  
Address A-10, 27/F, BILLION PLAZA 2, 10 CHEUNG YUE STREET CHEUNG SHA WAN, KOWLOON
Privacy Policy | Anti-Spam Policy | Prohibited Content | Terms and Conditions
©2024 DirectLead