Get Admission
curl --request GET \
--url https://api.eka.care/ipd/v1/service/admissions/{admission_id} \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/v1/service/admissions/{admission_id}"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/v1/service/admissions/{admission_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eka.care/ipd/v1/service/admissions/{admission_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"auth: <auth>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eka.care/ipd/v1/service/admissions/{admission_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("auth", "<auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/v1/service/admissions/{admission_id}")
.header("auth", "<auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/v1/service/admissions/{admission_id}")
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{
"success": true,
"data": {
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"bid": "170142612985588",
"ipid": "IPD1043",
"pid": "pid-321",
"stage": "AD",
"status": "UNDER_CARE",
"admission_date": "2026-10-05T10:30:00.000Z",
"patient": {
"id": "pid-321",
"profile": {
"personal": {
"name": "Ravi Kumar",
"gender": "M"
}
}
},
"doc": {
"id": "161467756044203",
"name": "Dr. Vivek Sharma"
},
"department": {
"id": "dept-med",
"name": "General Medicine"
},
"category": {
"id": "66f1c2a9e4b0a1b2c3d4e5f6",
"name": "ICU"
},
"bed": "66f1c4d2e4b0a1b2c3d4e702",
"bedDetails": {
"id": "66f1c4d2e4b0a1b2c3d4e702",
"name": "ICU-04",
"room": "66f1c3b7e4b0a1b2c3d4e601",
"updatedAt": "2026-10-07T09:50:00.000Z"
},
"rateplan": {
"id": "66f1c6f0e4b0a1b2c3d4e904",
"name": "Standard ICU",
"inclusions": [
{
"id": "66f1c7a1e4b0a1b2c3d4ea05",
"name": "Bed charges",
"rate": 2500
}
]
},
"totalbilled": 7545,
"totalpaid": 5000,
"created_at": "2026-10-05T10:30:00.000Z",
"updated_at": "2026-10-07T12:40:00.000Z"
}
}{
"success": false,
"error": "Admission not found"
}{
"message": "<string>"
}Admissions
Get Admission
Overview
This API returns a single IPD admission of your workspace — the patient, attendee, insurance, bed and rate plan, the doctor, department and facility, billing totals, and the admission’s lifecycle state (stage and status). All timestamps are ISO-8601 strings.
When the admission’s bed is a bed id, the bed is also returned in bedDetails.
Returns 400 with Admission not found when the admission does not exist in your workspace.
GET
/
ipd
/
v1
/
service
/
admissions
/
{admission_id}
Get Admission
curl --request GET \
--url https://api.eka.care/ipd/v1/service/admissions/{admission_id} \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/v1/service/admissions/{admission_id}"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/v1/service/admissions/{admission_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eka.care/ipd/v1/service/admissions/{admission_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"auth: <auth>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eka.care/ipd/v1/service/admissions/{admission_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("auth", "<auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/v1/service/admissions/{admission_id}")
.header("auth", "<auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/v1/service/admissions/{admission_id}")
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{
"success": true,
"data": {
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"bid": "170142612985588",
"ipid": "IPD1043",
"pid": "pid-321",
"stage": "AD",
"status": "UNDER_CARE",
"admission_date": "2026-10-05T10:30:00.000Z",
"patient": {
"id": "pid-321",
"profile": {
"personal": {
"name": "Ravi Kumar",
"gender": "M"
}
}
},
"doc": {
"id": "161467756044203",
"name": "Dr. Vivek Sharma"
},
"department": {
"id": "dept-med",
"name": "General Medicine"
},
"category": {
"id": "66f1c2a9e4b0a1b2c3d4e5f6",
"name": "ICU"
},
"bed": "66f1c4d2e4b0a1b2c3d4e702",
"bedDetails": {
"id": "66f1c4d2e4b0a1b2c3d4e702",
"name": "ICU-04",
"room": "66f1c3b7e4b0a1b2c3d4e601",
"updatedAt": "2026-10-07T09:50:00.000Z"
},
"rateplan": {
"id": "66f1c6f0e4b0a1b2c3d4e904",
"name": "Standard ICU",
"inclusions": [
{
"id": "66f1c7a1e4b0a1b2c3d4ea05",
"name": "Bed charges",
"rate": 2500
}
]
},
"totalbilled": 7545,
"totalpaid": 5000,
"created_at": "2026-10-05T10:30:00.000Z",
"updated_at": "2026-10-07T12:40:00.000Z"
}
}{
"success": false,
"error": "Admission not found"
}{
"message": "<string>"
}Was this page helpful?

