Postman API Testing

Postman API Testing

Dengage allows you to generate sample API requests for all of our endpoints via  Postman . This reference article covers the Dengage Rest API Testing, what it is, how to set up and as well as how to edit and send requests.

What is Postman?

Postman is a free-to-use visual editing tool for building and testing API requests. As opposed to other methods for interacting with APIs (e.g. using cURL), Postman allows you to easily edit API requests, view header information and much more. Postman has the ability for you to save Collections or libraries of sample pre-made API requests. In order to make it easy for our customers to get up and running with our REST API, we created a Collection with pre-made examples for all of our API endpoints.

Using Dengage Rest API.

To send an API requests to dengage Rest API you should have your IP whitelisted. To whitelist your IP you can send an email to tech@dengage.com.
Once your IP is whitelisted you need to create an API user to send an API request.

You can follow the below steps to create an API user .

1. Login to the admin panel of dengage and navigate to settings>API users



2.Now click the add button to create a new user.


3.Enable the permissions according to your needs and save. The password for the created user will be sent to your email account.



4.To set up the new environment on the postman follow the below steps.
  1. Click on the gear icon in the top right corner of your Postman app.
  2. Select “Manage Environments” to open a modal window that displays your active environments.
  3. In the bottom right corner of the modal window, click “Add” to create a new environment.
  4. Specify any name for the environment and in the variables add the username, password, URL and token


5. Now to send any request copy the endpoint and paste in the URL field and specify any required params and body and send the request


    • Related Articles

    • How can I create API user?

      Execute the following steps to create an API user: From Admin Panel, go to Settings. Click on API user. Add an API user name and set a password. Save it.  The API user will be created successfully.
    • Testing Dengage SDK on Localhost

      In this article, we will guide you through the process to implement the SDK and service worker on your Localhost web for testing purposes. Below are the steps to set up SDK and service worker on localhost. 1. Log in to the admin panel of your account ...
    • API User List

      You can manage the API users registered on your account on this page. An account can own more than one API user. Also, you can manage current API users' authorities as well. Important Points The password is not changeable. (You should store this ...
    • Standard API Documentation

      Host: api.dengage.com/rest Protocols: https Accepts: application/json Responds With: application/json Standard API URLS: Russia:  ruapi.dengage.com/rest US: us-api.dengage.com/rest Warning: D-engage APIs will support only the single thread requests ...
    • Optimize Messaging Engagement with Advanced A/B Testing

      What is A/B testing? A/B testing (also known as split testing) is a process of showing two variants of the same web page to different segments of website visitors at the same time and comparing which variant drives more conversions. A/B testing ...