Home
User Manual
API
Pricing
Free Trial
 

List
Contact
Subscribe
Un-Subscribe
Message
Campaign
Plan
Retrieve all messages
http(s)://edm.source-ec.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.source-ec.com/api/<api_key>/message?start=0&limit=100
http(s)://edm.source-ec.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.source-ec.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 2713 3484 Email sales@sourceec.com  
Address Room 517, 5/F, Kwong Loong Tai Bldg, 1016-1018 Tai Nan West Street, Lai Chi Kok, Kowloon, Hong Kong
Privacy Policy | Anti-Spam Policy | Prohibited Content | Terms and Conditions
©2024 Source EC