Loading...

Before building a Salesforce integration with NikoHealth, it is often useful to test APIs directly from Postman. This helps verify authentication, understand API responses, and test create/update operations before writing any code.

In this guide, we will:

  • Generate an Access Token using Client Credentials.
  • Authorize NikoHealth APIs in Postman.
  • Retrieve Patient information from NikoHealth.
  • Create a new Patient in NikoHealth.

Before starting, ensure you have:

  • NikoHealth API Base URL
  • Client ID
  • Client Secret
  • Token Endpoint URL
  • Postman Installed

You can obtain the Client ID and Client Secret from your NikoHealth API configuration.

Step 1: Open Postman

Launch Postman and create a new request.

  • Click on New → HTTP Request.

Step 1 3

Step 2: Configure OAuth 2.0 Settings

Enter the following values:

  • Grant Type: Client Credentials
  • Client ID: Your NikoHealth Client ID
  • Client Secret: Your NikoHealth Client Secret
  • Access Token URL: https://your-niko-domain.com/connect/token

Example:

Grant Type: Client Credentials

Client ID: xxxxxxxxxxxxxxxx

Client Secret: xxxxxxxxxxxxxxxx

Access Token URL: https://sandbox.yourcompany.nikohealth.com/connect/token

Group 5

Step 3: Configure Authorization

Navigate to the Authorization tab, select: Type = OAuth 2.0, and click Get New Access Token.

Group 9


Step 4: Generate Access Token

  • After clicking on Get New Access Token, Postman sends the authentication request to NikoHealth.
  • If authentication succeeds, an Access Token is returned.

Example:

{

  “access_token”:”eyJhbGciOi…”,

  “token_type”:”Bearer”,

  “expires_in”:3600

}

Then, click Use Token, and Postman automatically adds Authorization: Bearer <token> to future requests.

 

Group 6


Step 5: Retrieve a Patient from NikoHealth

  • Create a new GET request.

Example Endpoint:

GET /api/external/v1/patients/{patientId}

Example:

https://your-niko-domain.com/api/external/v1/patients/10000001

Method:

GET

  • Now, click Send.

Group 2


Step 6: Review the Patient Response

  • If the patient exists, NikoHealth returns patient information.

Example Response:

{

  “Id”:”10000001″,

  “FirstName”:”John”,

  “LastName”:”Smith”,

  “DateOfBirth”:”1990-01-01″,

  “Gender”:”Male”

}

  • This confirms that authentication and API connectivity are working correctly.
  • Group 1

Step 7: Create a New Patient in NikoHealth

  • Create a new request.

Method:

POST

Endpoint:

https://your-niko-domain.com/api/external/v1/patients

  • Then, navigate to Body → Raw → JSON.

Group 4


Step 8: Build the Patient Request Body

Example Patient Payload:

{

  “FirstName”:”John”,

  “LastName”:”Smith”,

  “DateOfBirth”:”1990-01-01″,

  “Gender”:”Male”,

  “Contacts”:{

    “Phone”:”1234567890″,

    “Email”:”johnsmith@test.com”

  }

}

  • This payload contains the patient information that will be created in NikoHealth.

step 8


Step 9: Send the Request

  • Here, click on Send.
  • Postman submits the patient data to NikoHealth.
  • If the request is successful, NikoHealth returns the newly created Patient ID.

Example:

{

“Id”:”10000125″

}

step 9 1

Step 10: Verify the Patient in NikoHealth

Open NikoHealth and search for the newly created patient, and verify:

  • Patient Name
  • Date of Birth
  • Contact Information
  • Generated Patient ID

This confirms the API request was successful.

Result

After completing these steps: 

  • OAuth 2.0 authentication is configured in Postman.
  • Access Tokens can be generated using Client Credentials.
  • Patient records can be retrieved from NikoHealth.
  • New Patient records can be created in NikoHealth.
  • API connectivity is verified before Salesforce development begins.

Conclusion

Using Postman is the fastest way to test and validate NikoHealth APIs before building healthcare CRM integrations. By configuring OAuth 2.0 Client Credentials authentication, generating an Access Token, and testing GET and POST Patient APIs, developers can quickly verify connectivity and understand the request and response structure required for Salesforce integrations.

The same authentication process can be used for other NikoHealth modules such as Orders, Prescriptions, Insurance, Authorizations, Documents, Invoices, Payments, and Purchase Orders. With Salesforce partners like HIC Global Solutions, businesses can easily integrate NikoHealth with Salesforce. Thus, if you need further assistance please contact Sales@hicglobalsolutions.com.

Watch Demo Video:

No Data Found.

Related Articles
Salesforce Web Console Beta A Unified Browser Based IDE for Faster Development

Salesforce Web Console (Beta) is a browser-based development environment that allows developers to write Apex code, run queries, debug applications, and manage metadata directly within their org. It is designed as a modern alternative to older tools such as Developer Console and Workbench. The Salesforce Web Console is available directly inside Salesforce and does not […]

Read More
Fetch Document from Niko Health and Attach it to Salesforce Account

Integrating external healthcare platforms like Niko Health with Salesforce helps streamline document management and improve operational efficiency. In this guide, we will walk through the complete process of fetching a document from Niko Health using APIs and attaching it to a Salesforce account as a file. This step-by-step implementation is useful when you want to […]

Read More
Winter 26 Update Using LWC as Local Actions in Screen Flows

The Salesforce Winter Release 2026 introduces powerful AI-driven updates focused on automation, productivity, and smarter CRM experiences. From major enhancements in Salesforce LWC to improved Salesforce Flow local action capabilities, the release helps developers and admins build faster, more scalable Salesforce solutions. The Salesforce Winter 26 release also reflects Salesforce’s growing focus on AI-powered workflows, […]

Read More
Automation Difference Between HubSpot and Salesforce Flow

Customer Relationship Management (CRM) systems help businesses manage customer interactions, sales processes, and marketing campaigns efficiently. Two of the most popular CRM platforms used worldwide are HubSpot and Salesforce. Both platforms provide automation tools that allow businesses to automate repetitive tasks, improve efficiency, and reduce manual work. However, the automation capabilities and design of these […]

Read More
Automating Customer Approval Using Salesforce Approval Process

In many financial or compliance-based applications, organizations need a structured way to review and approve important documents or financial data before they are finalized. For example, a company implemented a Salesforce approval process to validate Customer’s ITR (Income Tax Return) details to ensure that high-income cases are reviewed by senior authorities while keeping the process […]

Read More
How to Automatically Create Messaging Consent Using Record Triggered Flow in Salesforce

Automating messaging consent in Salesforce is essential for maintaining compliance and scaling customer communication. In this guide, you’ll learn how to auto-create OPT-IN Messaging Consent records using a Record-Triggered Flow, eliminating manual work while ensuring accurate, real-time consent capture. If you’re searching for a reliable way to automate consent tracking in Salesforce without Apex and […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203239658
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818