fbpx

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.

getCampaignStats

getCampaignStats 11111 --- 79 test4@test.net 3 0 2011-04-21 13:16:58 0000-00-00 00:00:00 smtp_communicate:529: Connect error: @domain=test.net, ip=[1.2.3.4] 2011-04-21 13:15:57 10 209.11.216.62 140448679049488 Soft 13671 Error Response: No reports Empty campaign id No campaign with this id

getCampaignStats

Request

<?xml version="1.0"?>
<request>
<user mail="test@test.com" API_key="12345ABCD EF67890GHIJK" />
<method>getCampaignStats</method>
<parameters>
<campaign_id>11111</campaign_id>
</parameters>
</request>

Response

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
  <tasks>
  <task>
  <db_subscriber_id>79</db_subscriber_id>
<email>test4@test.net</email>
<email_status>3</email_status>
<opens_number>0</opens_number>
<sent_time>2011-04-21 13:16:58</sent_time>
  <open_time>0000-00-00 00:00:00</open_time>
  <forward_to_email></forward_to_email>
<server_answer>smtp_communicate:529: Connect error: @domain=test.net, 
ip=[1.2.3.4]</server_answer>
  <locked>2011-04-21 13:15:57</locked>
  <resend>10</resend>
<ip>209.11.216.62</ip>
<thread_id>140448679049488</thread_id>
<status>Soft</status>
<task_id>13671</task_id>
  </task>
</tasks>
</<emercurymailAPI>

Error Response:

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

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

<?xml version="1.0" encoding="utf-8 "?>
<emercurymailAPI xmlns:xsi="http://www.w3.org/2001/X MLSchema -instance">
  <error>No campaign with this id</error>
</emercurymailAPI>
Emercury. All Rights Reserved © Copyright 2002-2020
Memberships
Partners