Add Emercury to Your Website or App

Create integrations that connect Emercury to a CMS, blog, shopping cart, and more. Our API offers in-depth documentation, a download section for various wrappers, and how-to documents. The majority of data and functionality within our web application is accessible, so the integration possibilities are endless.

Not a programmer? Here are a few options that don't involve using our API directly:

What You Can Do with the API

The Emercury API allows you to sync your database with Emercury for better list and campaign management. Create client portals, add a subscribe form to your checkout page, segment campaigns based on purchase history, link campaign stats to your database, sync email activity with your database, and more.

Add Emercury to Your Website or App

Please use this API url to send your requests: https://panel.emercury.net/api.php

***note: please download the example of the sample API file: https://panel.emercury.net/files/download.php?sample

Test Scenario (This is not a real account or API key)

Here is the common authorization request:
<?xml version="1.0" encoding="utf-8 "? >
<request>
<user mail="test@test.com" API_key ="12345ABCD EF67890GHIJK"></user>
</request>
– <request> – query container that includes all required fields
– <user> – client's information (email and API key)
To call any function tag <method></method > used.

addSchedule

addSchedule 11111 03/14/2012 1:15PM Required Fields: • campaign_id • schedule_date • schedule_time --- 123456 Error Response: Nonexistent campaign Error occured during saving a schedule Please fill schedule_date field Wrong date format, must be mm/dd/yyyy Please fill schedule_time field Wrong time format, examples: 1:00AM, 3:15AM, 12:30PM, 10:45PM

addSchedule

Request

<?xml version="1.0"?>
<request>
<user mail="test@test.com" API_key="12345ABCD EF67890GHIJK" />
<method>addSchedule</method>
<parameters>
<campaign_id>11111</campaign_id>
<schedule_date>
03/14/2012
</schedule_date>
<schedule_time>
1:15PM
</schedule_time>
</parameters>
</request>

Required Fields:
• campaign_id
• schedule_date
• schedule_time

Response

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
<schedule_id>123456</schedule_id>
</emercurymailAPI>

Error Response:

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
<error>Nonexistent campaign</error>
</emercurymailAPI>

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema-instance">
<error>Error occured during saving a schedule</error>
</emercurymailAPI>

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
<error>Please fill schedule_date field</error>
</emercurymailAPI>

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance"><error>Wrong date format, must be mm/dd/yyyy</error>
</emercurymailAPI>

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
<error>Please fill schedule_time field</error>
</emercurymailAPI>

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
<error>Wrong time format, examples: 1:00AM, 3:15AM,  12:30PM, 10:45PM</error>
</emercurymailAPI>
Emercury. All Rights Reserved © Copyright 2002-2020
Memberships
Partners