Home
User Manual
API
Pricing
Free Trial
 

Our API provides a way to integrate your system, such as CRM, CMS or Shopping Cart System, with our email marketing system.

You should have basic knowledge of the REST concept and JSON in order go ahead. Each resource in the our REST API is a named URI that is used with an HTTP method (such as GET and POST).

Generate an API key
1) Go to "Setting", then "API"
2) Press "Create" to generate a new API key, your API key should look like
    4.60.WBWJPLHVIQUCSEWA

A Quick Example
1) Retrieve all the contact lists
http(s)://edm.source-ec.com/api/<api_key>/list

Response

{
 "totalRecords": 30,
 "lists": [
  {
   "total": 2,
   "id": 41,
   "valid": 1,
   "unsubscribed": 0,
   "description": "",
   "name": "email list 1",
   "bounced": 1,
   "createDt": "2010-07-27 09:19 AM"
  },
  {
   "total": 100,
   "id": 56,
   "valid": 100,
   "unsubscribed": 0,
   "description": "",
   "name": "email list 2",
   "bounced": 0,
   "createDt": "2010-10-15 04:11 PM"
  },
 ...
 ]
}

2) Subscribe to list
http(s)://edm.source-ec.com/api/<api_key>/subscribe?listId=<list_id>
  &email=<email_address>

Response

{
 "success": true, 
 "responseCode": 1, 
 "message": "Successfully subscribed"
}

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