Get All HIP Users of a Business
curl --request GET \
--url https://api.eka.care/cdr/v1/hipusers/ \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/cdr/v1/hipusers/"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/cdr/v1/hipusers/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/cdr/v1/hipusers/")
.header("auth", "<auth>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/cdr/v1/hipusers/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/cdr/v1/hipusers/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"status": "success",
"users": [
{
"id": "176338032692057",
"firstname": "Manoharan",
"lastname": "Mohan",
"mobile": "9840254450",
"email": "criticcaredr@gmail.com",
"is_admin": true,
"seat_type": "p",
"doctors": [
{
"id": "do1763380327031",
"firstname": "Manoharan",
"lastname": "Mohan"
}
],
"clinics": [
{
"id": "c-1506ace382e94bf5ba9751fb",
"name": "Manushree Hospital"
}
],
"partner_id": null
}
]
}{
"status": "error",
"message": "You do not have permission to access HIP users for this business"
}{
"status": "error",
"message": "An unexpected error occurred on the server"
}Config management APIs
Get All HIP Users of a Business
This API retrieves the list of all HIP users associated with a business. The response includes each user’s details along with their linked doctors and clinics.
Use this API to fetch all HIP users for a business account in one call.
GET
/
cdr
/
v1
/
hipusers
/
Get All HIP Users of a Business
curl --request GET \
--url https://api.eka.care/cdr/v1/hipusers/ \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/cdr/v1/hipusers/"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/cdr/v1/hipusers/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/cdr/v1/hipusers/")
.header("auth", "<auth>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/cdr/v1/hipusers/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/cdr/v1/hipusers/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"status": "success",
"users": [
{
"id": "176338032692057",
"firstname": "Manoharan",
"lastname": "Mohan",
"mobile": "9840254450",
"email": "criticcaredr@gmail.com",
"is_admin": true,
"seat_type": "p",
"doctors": [
{
"id": "do1763380327031",
"firstname": "Manoharan",
"lastname": "Mohan"
}
],
"clinics": [
{
"id": "c-1506ace382e94bf5ba9751fb",
"name": "Manushree Hospital"
}
],
"partner_id": null
}
]
}{
"status": "error",
"message": "You do not have permission to access HIP users for this business"
}{
"status": "error",
"message": "An unexpected error occurred on the server"
}Was this page helpful?

