Skip to main content
Skip table of contents

Testing Rest API Calls Using Postman

You can use a third party application called Postman to create a test environment for testing calls to the Engaging Networks REST API services.

You can download Postman for free from

In the video below we walk you through the process of making calls from within the Postman application

Postman session token variable script

Creating an environment variable to store the session token when you authenticate with the REST API helps speed up the testing and development process

Add the script below to the ‘Tests’ tab of your authentication call to automatically set the environment variable en_token with the session token.

var jsonData_str = responseBody.replace("-","");
var jsonData = JSON.parse( jsonData_str.replace("auth-","_") );
postman.setEnvironmentVariable( "en_token", jsonData.ens_token );
postman.setEnvironmentVariable( "en_timestamp",;
postman.setEnvironmentVariable( "en_firstName","John");
postman.setEnvironmentVariable( "en_lastName","Doe");

API Syntax

The full syntax of our API can be reviewed here.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.