mail2 Support & Community Center

Connecting to the API

Last Updated: Jan 27, 2013 09:49AM CST

Our Email Marketing API is a REST-based email delivery and tracking service that allows you to easily and seamlessly add email list management functionality into other applications.  Our Email Marketing API allows customers to extend the functionality of their applications by integrating email marketing components to create enhanced user experiences.

More documentation is coming soon, and in this release, we feature the contact management and list opt-in/opt out API functions.

REST Endpoint

Our REST endpoint is located at

http://api.mail2.lynch2.com/2/REST/

You can connect to it programmatically from any language.

Authentication

Access to mail2 functions is handled through API keys.  API Keys are created and assigned to users inside the mail2 interface under “Settings > APIKeys”.

Each of the API Functions can be used with the REST API via the following URL:

http://api.mail2.lynch2.com/2/REST/

Here’s an example using the LIST_SUBSCRIBE  method to opt an email address into a list.

http://api.mail2.lynch2.com/2/REST/?method=LIST_SUBSCRIBE&key=YOURAPIKEY&listid=1&email=theemail@theemail.com

All responses to API methods are returned using JSON.

 

Contact Us