Get Slots
curl --request GET \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors/slots \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors/slots"
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/uhi/v1/physical-consultation/search/doctors/slots', 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/uhi/v1/physical-consultation/search/doctors/slots")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors/slots");
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/uhi/v1/physical-consultation/search/doctors/slots")
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{
"doctor": {
"education": "<string>",
"experience": "<string>",
"gender": "<string>",
"id": "<string>",
"languages": [
"<string>"
],
"name": "<string>"
},
"provider_info": {
"address": "<string>",
"city": "<string>",
"id": "<string>",
"name": "<string>",
"phone": "<string>"
},
"slots": [
{
"currency": "<string>",
"date": "<string>",
"end_time": "<string>",
"id": "<string>",
"price": "<string>",
"start_time": "<string>",
"type": "<string>"
}
]
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Physical Consultation
Get Slots
Fetches the list of a doctor available consultation slots.
GET
/
abdm
/
uhi
/
v1
/
physical-consultation
/
search
/
doctors
/
slots
Get Slots
curl --request GET \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors/slots \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors/slots"
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/uhi/v1/physical-consultation/search/doctors/slots', 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/uhi/v1/physical-consultation/search/doctors/slots")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors/slots");
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/uhi/v1/physical-consultation/search/doctors/slots")
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{
"doctor": {
"education": "<string>",
"experience": "<string>",
"gender": "<string>",
"id": "<string>",
"languages": [
"<string>"
],
"name": "<string>"
},
"provider_info": {
"address": "<string>",
"city": "<string>",
"id": "<string>",
"name": "<string>",
"phone": "<string>"
},
"slots": [
{
"currency": "<string>",
"date": "<string>",
"end_time": "<string>",
"id": "<string>",
"price": "<string>",
"start_time": "<string>",
"type": "<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
Query Parameters
Unique Identifier of a Provider in the system.
Unique Identifier of any booking.
Was this page helpful?

