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:

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
How to Configure Salesforce for Google Chat Integration

Google Chat integration with Salesforce connects team communication with Salesforce data, helping teams receive important updates without constantly switching between platforms. It makes collaboration simpler and keeps sales teams informed. The integration works across three key components: Salesforce: Acts as the source system for business information, record updates, and automation. Google Cloud Console: Provides the […]

Read More
How to Integrate Tasks Between NikoHealth and Salesforce

How to Integrate Tasks Between NikoHealth and Salesforce Tasks play an important role in healthcare workflows and can be associated with Patients, Orders, Invoices, Documents, and Assigned Staff Members. With MultiSync Made Easy, organizations can synchronize Task records while maintaining these important relationships. This Niko Health image-based workflow also makes it easier to understand how […]

Read More
How to Build an AI-Powered Salesforce Record Assistant Using LWC and Models API

Sales representatives often work with Salesforce records that contain a lot of information, including emails, tasks, events, and Chatter activity. Going through all this information manually can make it easy to miss important details. With Salesforce LWC and Models API, you can build an AI-powered record assistant that brings this information together, summarizes important details, […]

Read More
How to Build an AI Email Generator for Salesforce Cases Using Salesforce Models API

Support agents spend a lot of time writing the same kind of customer emails, whether it is a case update, resolution message, or simple follow-up after an issue. An email generator for Salesforce can help reduce this repetitive work by creating a first draft directly from the Case record, using the information already available in […]

Read More
How to Integrate Purchase Orders Between NikoHealth and Salesforce

Purchase Orders are used to manage inventory procurement, vendor orders, product replenishment, and supply chain operations. Using MultiSync Made Easy, organizations can synchronize Purchase Orders between NikoHealth and Salesforce while maintaining relationships with: Vendors Products Purchase Order Items Locations In this guide, we will configure: NikoHealth → Salesforce Purchase Order Synchronization Salesforce → NikoHealth Purchase […]

Read More
How to Integrate Invoices Between NikoHealth and Salesforce

Invoices are a critical part of the healthcare billing process. They contain billing information, insurance details, diagnosis codes, service lines, HCPCS codes, charges, balances, and payment-related information. Using NikoHealth with Salesforce, organizations can automatically synchronize Invoice records between both platforms while maintaining relationships with: Orders Patients With Salesforce NikoHealth integration through MultiSync Made Easy, organizations […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203669505
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
CA Flag Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818