The Email On-Demand Marketing API exposes RESTful HTTP methods to access and manipulate aspects of SocketLabs’ Marketing features such as contact list management, newsletters, and autoresponders. This enables users to build their own sophisticated client tools to manage the use of our Email On-Demand services. [▲]
The email Marketing API uses basic authentication over SSL. Please refer to your development platform documentation for instructions on how to use HTTP authentication with REST calls. All calls to the API must be over HTTPS for security. Non-secure HTTP calls are not supported.
Email marketing API credentials exist on a per-server level. Therefore, your Marketing API username is your 4- or 5-digit Server ID number, and a Marketing API key is used as a password. In order to retrieve your Marketing API key, log into your control panel and navigate to your server’s dashboard. From here, click on the “For Developers” tab in the top navigation bar, and choose the “Configure Marketing API” option in the drop-down menu. Your Marketing API key is automatically generated and cannot be edited manually for security reasons. You can regenerate this key, however, by clicking on the regenerate icon to the right of the field.
Please be aware that if you change any of your email marketing API credentials, any application that uses old information will stop working until it is updated with the new credentials. Any requests with invalid credentials will receive a 401 Unauthorized response. [▲]
The email Marketing API functionality is currently in BETA and more features and methods will be exposed over time. The present version exposes limited methods for managing contacts on your contact lists (adding and removing them and unsubscribing them from your Server).
JSON and XML response content types are currently supported. You can specify your preferred type via your Accept header in your HTTP request as follows (Accept: application/json or Accept: text/xml respectively).
For a given server, note that a contact is uniquely identified by its email address and contacts are shared across lists. Therefore if you update an individual contact’s information (first name, last name, etc) those changes will be reflected across all lists (and subsequent newsletters or autoresponders) on which that contact is used. [▲]
Your application should be designed to handle failure conditions such as receiving no response or an error response from our API server. For example, the email marketing API may be down temporarily for maintenance, and calling applications should be able to handle such a situation gracefully. Specific error responses for given methods are explained in the documentation for that method. [▲]
By default the email Marketing API processes all dates and times as UTC (both input and output). [▲]
You’re in good company when working with SocketLabs. Here are some companies who have also trusted SocketLabs.
Your Email Service ROCKS!!
We Love Your Service
Glad We Chose SocketLabs
Best Deliverability Possible, Would Recommend to Anyone
Resolved All of Our Deliverability Issues!
Extremely Easy to Use, Could Not Be Happier
You guys are great. Thank you.
We Have Never Looked Back
Should Have Signed up Sooner
Fast & Reliable
Vastly Superior; Well Done!
Second to None, 5 Stars
Helpful, Reliable and Affordable
Responsive, Helpful, and Knowledgeable