Provider
curl --request GET \
--url https://api.eka.care/abdm/v1/provider/{hip_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/v1/provider/{hip_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/v1/provider/{hip_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/abdm/v1/provider/{hip_id}")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/v1/provider/{hip_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/v1/provider/{hip_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"city": "<string>",
"hip_id": "<string>",
"hip_name": "<string>",
"state": "<string>"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}User initiated linking
Get Provider Details
Fetches the Providers based on the HIP ID.
GET
/
abdm
/
v1
/
provider
/
{hip_id}
Provider
curl --request GET \
--url https://api.eka.care/abdm/v1/provider/{hip_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/v1/provider/{hip_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/v1/provider/{hip_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/abdm/v1/provider/{hip_id}")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/v1/provider/{hip_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/v1/provider/{hip_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"city": "<string>",
"hip_id": "<string>",
"hip_name": "<string>",
"state": "<string>"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Used in
Authorizations
The API requires a Bearer token (JWT) for authentication.
Headers
Eka User ID (OID)
Partner User ID
Partner HIP ID
Path Parameters
Identifier for the Health Information Provider (HIP).
Query Parameters
OID is used to Identify the user.
Response
OK
City where the Health Information Provider (HIP) is located.
Identifier for the Health Information Provider (HIP).
Name of the Health Information Provider (HIP).
State where the Health Information Provider (HIP) is located.
Was this page helpful?

