cmercury API integration makes global mailing and text messaging easy

May 28, 2019

API integration has become the key to success in today’s fast-evolving e-commerce market.

Application Programming Interface (API) is a software code that enables two applications to talk to each other. It is an access point to an application that can access a database.

API has become an indispensable tool for digital enterprises. It helps to automate many business operations and lessens the need for manual intervention.

 

About cmercury API

cmercury API lets you integrate Email and SMS services on your panels such as website, application, mobile app, etc.

Through this, you can enjoy the benefits of global reach while managing all your email marketing and SMS marketing activities in a hassle-free manner.

cmercury API supports any programming language that can make TCP/IP requests. JAVA, PHP, ASP, and many other languages include JSON libraries that facilitate handling the syntax of the cmercury API.

It uses the REST architecture style in which you initiate token-authenticated calls over https.

From seamlessly importing or exporting data to sending dynamic trigger emails based on customer actions, cmercury API provides a rich set of functions to help you manage your marketing activities efficiently.

How cmercury API integration benefits your business?

cmercury’s advanced features and integrations let you create smart and engaging campaigns at ease.

Email and SMS API integration is the easiest way to send automated bulk Emails and SMS messages directly from your own platform.

Some of the main benefits you can now enjoy with cmercury API are:

  • Better efficiency with Automation: cmercury smart APIs let you automate your email and SMS programs which help to save enormous amount of your time. Our API can seamlessly deliver the emails and messages without any additional manual work, say if you need to send the same message over and over again.
  • Ease of use: With lots of API interaction tools available, you can easily construct API requests and read responses. It does not require any technical skills.
  • Fast and reliable: cmercury API is compatible with all the major applications and platforms, which helps you to manage all your emails and messages from a single interface. Also, it increases the overall efficiency by enabling faster and safer delivery of emails and messages.

So what do you need to do to get started?

Before you can start using the API, you need to do the following:

  • Create an account on ‘cmercury’ or sign in to your existing account.
  • Generate an X-Token.

How to create a cmercury account?

To create your account, follow these steps:

  1. Navigate to cmercury’s pricing page.
  2. Choose the account type of your choice.
  3. Enter your details.
  4. Click Submit.

Our experts will reach out to you with a custom plan. Once a suitable plan is fixed, an activation mail with username and password reaches your inbox. Using this, you can access the cmercury dashboard.

 

 

How to generate the X-token?

X-Token is used as a security mechanism for identifying data origin and data integrity. It acts as a key for authentication.

It can be generated easily as shown in the screenshots below.

 

 

In order to use X-Token, the user has to supply username/password for the first time and server returns an access-token in header field ‘X-Token’.

For further sessions, this token is exchanged, not the username/password.

 

cmercury API as Postman collection

For your ease of use, we have now added a brand new button to “View cmercury API as Postman collection”. (Postman is an extension of Chrome, which is used as a client application to test the request and response between web service and client.)

ie: Postman simplifies the creation of API requests, giving non-technical users a way to make HTTP requests using a point and click user interface. In case you don’t have Postman installed, you’ll need to download and install it.

Now, click the “View cmercury API as Postman collection button and you will be redirected to your installed Postman app.

On the left side of the interface, you can see the “cmercury API collection”.

 

There are currently 50 different request types in the collection.

On the right, you have the request builder. Using this, you can build any type of request here.

In the request builder section, select the POST method using the drop down.

 

Executing cmercury API in Postman

Let’s now see how we can execute a sample API call.

Say, if you want to create a new mailing list, just select List Management—> Create Mailing List →

The URL will be generated automatically in the request builder section.

 

All you need do is to add the required attribute values in the ‘Body’ part and enter the X-Token in the ‘Headers’ part and press the ‘Send’ button.

You will see the results displayed in the response window.

Here you go!

In a similar manner, you can process any type of API requests related to your Email and SMS marketing activities. It’s as simple as that!

Hope you will enjoy exploring cmercury API!

Take your business to the next level by integrating with cmercury.

Recent posts

    Leave a comment

Change Language To: