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)://directlead.enewsletter5.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)://directlead.enewsletter5.com/api/<api_key>/subscribe?listId=<list_id>
  &email=<email_address>

Response

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

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
©2019 DirectLead