Connecting to the API

Knowledge Level: 
Time: NA
Suggested Skills: Tessitura, SQL, API
Objective: 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 API allows you to extend the functionality of your applications by integrating email marketing components to create enhanced user experiences.

REST Endpoint

Our REST endpoint is located at

http://api.emailcampaigns.net/2/REST/

You can connect to it programmatically from any language.

To preserve reliability and prevent your API Key from being disabled, please keep calls to less than 1,500/minute and 30/second.

Authentication

Access to mail2 functions is handled through API keys. Contact us at mail2@lynch2.com to obtain your API key.

If a user with which an API key is deleted, the API key associated with that user is deleted as well, since the keys permissions are associated with the user. If you have applications that depend on an API key, and the associated user needs to be deleted, make sure to create a new API key first and use that in your application.

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

http://api.emailcampaigns.net/2/REST/

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

http://api.emailcampaigns.net/2/REST/?method=List_Subscribe&key=YOURAPIKEY&listid=1&email=theemail@theemail.com

All responses to API methods are returned using JSON.

Note: The method name should be in camel-case.

Still need help? Contact Us Contact Us