using RestSharp;
var options = new RestClientOptions("https://api.eka.care/dr/v1/slots");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api.eka.care/dr/v1/slots");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"success": false,
"error": "Schedule not setup for the doctor",
"data": {
"schedules": [],
"services": []
}
}
Replaces Get Appointment Slots (Legacy).Every schedule mapped against that doctor and clinic: patient, front desk or IPD.
Query keys
Key
Required
What it means
If you leave it out
doc_id
yes
Doctor id. For clinic slots, use the clinic id in its place
400 MISSING_DOC_ID
startTime
yes
Window start, ISO with Z: 2026-11-13T18:30:00.000Z
400
endTime
yes
Window end, same format
400
cid
no
Clinic id
Every clinic of the doctor
bookable_by
no
patient, front_desk or ipd. See below
Every schedule
schedule_id
no
Only this schedule’s slots
Slots of all schedules
service_id
no
Only that service is returned
Every service mapped
mode
no
in-clinic or tele
Both
duration
no
Slot length in minutes. Only duration schedules use it; service schedules ignore it. A length the schedule doesn’t have (e.g. 45 when slot_durations is [15, 30, 60]) falls back to the shortest one, see Slot length in a duration schedule
The schedule’s shortest length
header time-zone
no
Time zone of s and e in the reply
Asia/Kolkata
mode is set on each service, not on the schedule.
Service schedule: every service is in-clinic, tele. mode=tele gives only the tele services’ slots. in service based schedules are mapped on the service
Duration schedule: it has no services, so its slots are for both in-clinic and tele. mode is ignored.
bookable_by
Value
Who books
What changes in the reply
patient
The slots/schedules you want to expose to the patient for booking: your website, booking page, patient app, the slots you might send to the patient over whats-app, etc
Services with allow_patient_booking: false are hidden, even when you also send schedule_id. Duration schedules are skipped; if only those exist, 400. With schedule_id, that schedule is served even if it is a duration schedule
front_desk
Anyone booking from the clinic side: your reception, front desk, doctor, clinic staff, or your own EMR
Nothing hidden
ipd
Bookings for admitted (in-patient) patients
Nothing hidden
Whatever you send, only regular services get slots. Follow-up services (appointment_type other than REGULAR) and archived services never do.
Which schedules come back
You send
You get
schedule_id
Only that schedule, whoever can book on it. Not this doctor’s or clinic’s: 404
bookable_by
Every active schedule that group can book on
Neither
Every active schedule. A schedule that both patients and the front desk can book on comes once
With mode, service_id or bookable_by=patient, a service schedule that never offers a matching service is left out. Example: mode=tele leaves out a schedule that only has in-clinic services. A schedule that offers it but has no slots between startTime and endTime stays, with empty slots and next. Duration schedules always stay. If nothing is left: 404.
Clinic slots (no doctor)
Put the clinic id in bothdoc_id and cid:?doc_id=c-cc6a93720d7445af890c4cc0&cid=c-cc6a93720d7445af890c4cc0You get the clinic’s own schedules and services. doctor_oid comes back null. Clinic schedules are read in IST.To make one, call Create Schedule with the clinic id in both entity_id and location_id.
Service schedules vs duration schedules
A duration schedule has no services. Its slots are plain time cut at one length, so conf_id is null, it has no services list, and it adds nothing to the top-level services. A reply with only duration schedules has services: [].
Service schedule (slot_mode: service)
Duration schedule (slot_mode: duration)
Slot length
Each service’s own duration
The duration you send if it is in the schedule’s slot_durations, else the shortest one there
Slots come in
services[].slots, one list per service type
slots
conf_id on a slot
The service it books
null
service_id, mode
Applied
Ignored
Service slots also follow each service’s booking window: none sooner than book_before_mins from now, none later than book_ahead_days ahead. Past slots never come back.
Slot length in a duration schedule
A schedule with slot_durations: [15, 30, 60]:
duration you send
Slots are cut at
slot_duration in the reply
30
30 minutes
30
40, not in slot_durations
15 minutes, the shortest
15
Left out
15 minutes, the shortest
15
A duration the schedule doesn’t have is not an error. You get 200 with slots at the shortest length. Read slot_duration before you show or book a slot, so a 15-minute slot is not shown as a 40-minute one.
Dates
Send startTime and endTime as full ISO with Z. One day in India is startTime=2026-11-13T18:30:00.000Z&endTime=2026-11-14T18:29:59.999Z.A date alone (2026-11-14) means 00:00 UTC, which is 05:30 IST, so early-morning slots get cut.
Errors
Status
error
Why
400
Invalid date input: ...
startTime or endTime is bad, or the end is before the start
400
MISSING_DOC_ID
No doc_id
400
Invalid <key>
Bad value, or the same key sent twice
400
Unpaid doctor account
The doctor’s Eka plan is not active
400
duration-based schedules are not available on this endpoint
when you send bookable_by=patient, but the doctor/clinic has ONLY duration based schedules
400
INTERNAL_ERROR
Something failed on our side. Retry
404
Schedule not setup for the doctor
No active schedule for this doctor and clinic
404
Schedule not found
schedule_id is unknown or not this doctor’s
404
No schedule offers the requested mode / service_id
You sent mode, service_id or bookable_by=patient, and no schedule offers a matching service
Every error body carries empty data: { "schedules": [], "services": [] }.
Time zone for s and e in the reply, e.g. Asia/Dubai. Defaults to Asia/Kolkata.
Example:
"Asia/Kolkata"
Query Parameters
doc_id
string
required
Doctor id. For clinic slots, use the clinic id in its place (send the same id in cid).
Example:
"174368482468425"
startTime
string
required
Window start, ISO-8601 with Z. A date alone (2026-11-14) means 00:00 UTC, which is 05:30 in India.
Example:
"2026-11-13T18:30:00.000Z"
endTime
string
required
Window end, same format. Must not be before startTime.
Example:
"2026-11-14T18:29:59.999Z"
cid
string
Clinic id. Leave it out to get every clinic of the doctor.
Example:
"67ee84d9087b41001de0cfb1"
bookable_by
enum<string>
Only schedules this group can book on: patient (patients book by themselves), front_desk (anyone booking from the clinic side: your reception, front desk, doctor, clinic staff, or your own EMR) or ipd (admitted patients). Leave it out to get every schedule.
Available options:
patient,
front_desk,
ipd
schedule_id
string
Only this schedule, whoever can book on it. bookable_by=patient still hides services patients can't book.
Example:
"6a7b046c1cf45d28c2c308b3"
service_id
integer
Only services of this service type, e.g. Consultation. A service schedule that never offers it is left out. Duration schedules ignore it.
Example:
444895
mode
enum<string>
Only services offered in this mode. A service schedule that never offers this mode is left out. Duration schedules ignore it.
Available options:
in-clinic,
tele
duration
integer
Slot length in minutes, for duration schedules only. If it is in the schedule's slot_durations, slots are cut at it. If it is not, or you leave it out, slots are cut at the shortest length in slot_durations (not an error). slot_duration in the reply is the length used.
Example:
15
Response
OK
success
boolean
Example:
true
data
object
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eka Developer Platform APIs","colors":{"primary":"#5B45C9","light":"#B6A8FF","dark":"#5B45C9"},"logo":{"light":"https://cdn.eka.care/vagus/clzwrv3o600260ti3bg9q1det.png","dark":"https://cdn.eka.care/vagus/clzws1tfc00270ti3eiwn5jo5.png"},"favicon":"https://mintcdn.com/ekacare/uZX0UtACdJOcX7uJ/favicon.svg?fit=max\u0026auto=format\u0026n=uZX0UtACdJOcX7uJ\u0026q=85\u0026s=9ecadef0a25715531f08b66c68c31915","api":{"examples":{"languages":["bash","python","typescript","java","csharp","ruby"]}},"background":{"color":{"light":"#FAFAF9","dark":"#0A0A0A"}},"navbar":{"links":[{"icon":"hammer","href":"/developer-tools","label":"Developer tools"},{"icon":"/images/icons/github.svg","href":"https://github.com/eka-care","label":"GitHub"},{"icon":"/images/icons/huggingface.svg","href":"https://huggingface.co/ekacare","label":"Hugging Face"},{"icon":"/images/icons/discord.svg","href":"https://discord.gg/THgd5S22EK","label":"Discord"}],"primary":{"type":"button","label":"Build Now","href":"https://console.eka.care"}},"footer":{"socials":{"x":"https://x.com/ekacarehq","github":"https://github.com/eka-care","linkedin":"https://www.linkedin.com/company/ekacare","discord":"https://discord.gg/THgd5S22EK","website":"https://www.eka.care"},"links":[{"header":"Solutions","items":[{"label":"Medical Scribe","href":"/docs/scribe/overview"},{"label":"Medical Document Parsing","href":"/docs/models/medical-document-parsing"},{"label":"Clinical MCP","href":"/docs/datasets/build-with-ai/mcp-server/introduction"},{"label":"ABDM Connect","href":"/docs/hie-cm/about"}]},{"header":"Resources","items":[{"label":"Get started","href":"/docs/get-started/overview"},{"label":"Cookbook","href":"/docs/get-started/cookbook"},{"label":"Auth","href":"/docs/auth/invite-flow"},{"label":"Encryption","href":"/docs/encryption/guide"},{"label":"Eka MCP","href":"/docs/emr/build-with-ai/mcp-server/introduction"},{"label":"Developer tools","href":"/developer-tools"}]},{"header":"Newsboard","items":[{"label":"Eka Labs","href":"/docs/models/spotlight"},{"label":"Under the hood","href":"/docs/get-started/under-the-hood"},{"label":"Changelog","href":"/docs/get-started/changelog"}]},{"header":"Community","items":[{"label":"GitHub","href":"https://github.com/eka-care"},{"label":"Hugging Face","href":"https://huggingface.co/ekacare"},{"label":"Discord","href":"https://discord.gg/THgd5S22EK"},{"label":"eka.care","href":"https://www.eka.care"}]}]},"fonts":{"heading":{"family":"Newsreader","weight":420},"body":{"family":"Geist"}},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ekacare","hasAudioNarration":false,"actualSubdomain":"ekacare","customDomains":["developer.eka.care"],"gitSource":{"type":"github","owner":"eka-care","repo":"eka-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af733355dcd64e14d2f64b5","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"APIs \u0026 SDKs","count":459},{"language":"default","tag":"Build","count":319},{"language":"default","tag":"Eka EMR","count":318},{"language":"default","tag":"HIE-CM","count":222},{"language":"default","tag":"ABDM Connect","count":204},{"language":"default","tag":"IPD","count":169},{"language":"default","tag":"Documentation","count":163},{"language":"default","tag":"HIE-CM API","count":95},{"language":"default","tag":"Eka EMR API","count":81},{"language":"default","tag":"Workflows","count":64}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--eka-accent: #98B4FC;--eka-accent-ink: #4C7EFE;--eka-lilac: #5B45C9;--eka-lilac-tint: rgba(124, 92, 255, .12);--eka-lilac-edge: rgba(124, 92, 255, .22);--eka-lilac-hover: rgba(124, 92, 255, .18);--eka-neutral-edge: #D4D4D0;--eka-accent-wash: rgba(33, 95, 255, .07);--eka-heading: color-mix(in srgb, #141413 70%, #215FFF);--eka-line: #E7E7E4;--eka-surface: #FFFFFF;--eka-dot: rgba(147, 147, 142, .156);--eka-mono: \"Geist Mono\", ui-monospace, \"SF Mono\", monospace}.dark{--eka-accent: #445C9D;--eka-accent-ink: #6B93FF;--eka-lilac: #B6A8FF;--eka-lilac-tint: rgba(160, 140, 255, .14);--eka-lilac-edge: rgba(160, 140, 255, .25);--eka-lilac-hover: rgba(160, 140, 255, .20);--eka-neutral-edge: rgba(255, 255, 255, .18);--eka-accent-wash: rgba(107, 147, 255, .07);--eka-heading: color-mix(in srgb, #EDEDEC 70%, #6B93FF);--eka-line: rgba(255, 255, 255, .08);--eka-surface: #111111;--eka-dot: rgba(255, 255, 255, .054)}#background-color::after{content:\"\";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle, var(--eka-dot) .95px, transparent 1.25px);background-size:24px 24px;-webkit-mask-image:radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 100%);mask-image:radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 100%)}#page-title,#content :is(h1,h2,h3,h4){font-weight:420!important;font-optical-sizing:auto;color:var(--eka-heading)!important;letter-spacing:.012em!important}body{letter-spacing:.015em}#sidebar{border-right:1px solid var(--eka-line)}#content-side-layout{border-left:1px solid var(--eka-line)}#content>h2{position:relative;margin-top:3.5rem;padding-top:2.5rem}#content>h2::before{content:\"\";position:absolute;top:0;left:0;right:0;height:5px;pointer-events:none;background:linear-gradient(var(--eka-line), var(--eka-line)) 0 0 / 100% 1px no-repeat,\n linear-gradient(var(--eka-line), var(--eka-line)) 0 100% / 100% 1px no-repeat}@media (min-width: 1024px){#content>h2::before{left:-43px;right:-4px}}@media (min-width: 1280px){#content>h2::before{right:-52px}}#content a.link:not(.eka-postman-btn){color:var(--eka-accent-ink)!important;border-bottom-color:color-mix(in srgb, var(--eka-accent-ink) 45%, transparent)!important}#content a.link:not(.eka-postman-btn):hover{border-bottom-color:var(--eka-accent-ink)!important}#topbar-cta-button a>span:first-child{background:var(--eka-lilac-tint)!important;box-shadow:inset 0 0 0 1px var(--eka-lilac-edge)}#topbar-cta-button a :is(span,svg){color:var(--eka-lilac)!important}#topbar-cta-button a{height:32px;padding:0 14px!important;font-size:13px!important;font-weight:500;align-items:center}#topbar-cta-button a>span:first-child{border-radius:999px!important}#topbar-cta-button a:hover>span:first-child{background:var(--eka-lilac-hover)!important;opacity:1!important}#topbar-cta-button a>div>svg{display:none!important}#content :is(code,pre),[data-component-part=\"code-block-root\"]{font-family:var(--eka-mono);letter-spacing:normal}.callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"]){border:1px solid var(--eka-line)!important;border-left:2px solid var(--eka-accent)!important;border-radius:0 12px 12px 0!important;background:var(--eka-surface)!important}.callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"]) [data-component-part=\"callout-icon\"]{color:var(--eka-accent-ink)}#content .card{border-color:var(--eka-line)!important;transition:border-color .15s ease, transform .15s ease}#content a.card:hover,#content a:hover>.card{border-color:var(--eka-accent)!important;transform:translateY(-2px)}#content [data-component-part=\"card-icon\"]{color:var(--eka-accent-ink)!important;fill:var(--eka-accent-ink)!important}[data-component-part=\"step-indicator\"]{background:var(--eka-surface)!important;box-shadow:inset 0 0 0 1px var(--eka-accent)!important;color:var(--eka-accent-ink)!important;font-family:var(--eka-mono)}.eka-card-wrapper{border-radius:14px;transition:transform 0.15s ease}.eka-card-wrapper:hover{transform:translateY(-3px)}.eka-card-wrapper:hover>*{box-shadow:0 12px 28px rgba(94, 106, 152, 0.16);border-color:var(--eka-accent)}.eka-divider{border:none;border-top:1px solid var(--eka-line);margin:48px 0}.eka-tags{display:inline;margin-left:6px;white-space:normal}.eka-tag{display:inline-block;font-size:11px;font-weight:500;line-height:1;padding:3px 7px;border-radius:6px;margin:0 0 2px 4px;vertical-align:middle;white-space:nowrap;color:#6B7280;background:rgba(107, 114, 128, 0.10)}.dark .eka-tag{color:#9CA3AF;background:rgba(156, 163, 175, 0.14)}.eka-postman{border:1px solid rgba(17, 24, 39, 0.10);border-radius:14px;padding:20px 24px;margin:16px 0 24px}.eka-postman-text{font-size:15px;line-height:1.6;color:#4B5563}.eka-postman-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.eka-postman-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid var(--eka-neutral-edge);border-radius:8px;font-size:15px;font-weight:500;color:#141413;background:transparent;text-decoration:none;transition:background 0.15s ease}.eka-postman-btn:hover{background:rgba(20, 20, 19, .04)}.eka-postman-btn-primary{color:var(--eka-lilac);background:var(--eka-lilac-tint);border-color:var(--eka-lilac-edge)}.eka-postman-btn-primary:hover{background:rgba(124, 92, 255, .18)}.eka-postman-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(17, 24, 39, 0.10);border-radius:10px;background:rgba(17, 24, 39, 0.03)}.eka-postman-link code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;padding:6px 8px;border-radius:6px;background:rgba(17, 24, 39, 0.05)}.eka-postman-link button{flex-shrink:0;display:inline-flex;padding:4px;font-size:13px;color:#6B7280;background:none;border:none;cursor:pointer}.eka-postman-link button:hover{color:var(--eka-accent-ink)}.eka-postman-note{margin-top:12px;font-size:14px;color:#6B7280}.eka-postman-error{margin:-4px 0 12px;font-size:14px;color:#B42318}.dark .eka-postman-error{color:#F97066}.dark .eka-postman{border-color:rgba(255, 255, 255, 0.12)}.dark .eka-postman-text{color:#D1D5DB}.dark .eka-postman-btn{color:#EDEDEC;border-color:var(--eka-neutral-edge)}.dark .eka-postman-btn:hover{background:rgba(255, 255, 255, .05)}.dark .eka-postman-btn-primary{color:var(--eka-lilac);background:var(--eka-lilac-tint);border-color:var(--eka-lilac-edge)}.dark .eka-postman-btn-primary:hover{background:rgba(160, 140, 255, .20)}.dark .eka-postman-link{border-color:rgba(255, 255, 255, 0.12);background:rgba(255, 255, 255, 0.04)}.dark .eka-postman-link code{color:#E5E7EB;background:rgba(255, 255, 255, 0.06)}.dark .eka-postman-link button,.dark .eka-postman-note{color:#9CA3AF}[data-component-part=\"products-selector-content\"]{--ps-line: #E7E7E4;--ps-ink: #141413;--ps-ink-3: #93938E;--ps-bg: #FAFAF9;--ps-surface: #FFFFFF;background:var(--ps-surface)!important;border:1px solid var(--ps-line);border-radius:16px!important;padding:14px!important;box-shadow:0 1px 2px rgba(20, 20, 19, .04), 0 24px 48px rgba(20, 20, 19, .10)!important}.dark [data-component-part=\"products-selector-content\"]{--ps-line: rgba(255, 255, 255, .08);--ps-ink: #EDEDEC;--ps-ink-3: #6B6B68;--ps-bg: #0A0A0A;--ps-surface: #111111}[data-component-part=\"products-selector-content\"]>div{--fam: #64748B}[data-component-part=\"products-selector-content\"]>div:nth-child(1){--fam: #7C5CFF}[data-component-part=\"products-selector-content\"]>div:nth-child(2){--fam: #215FFF}[data-component-part=\"products-selector-content\"]>div:nth-child(3){--fam: #E8650A}.dark [data-component-part=\"products-selector-content\"]>div{--fam: #A3B1C6}.dark [data-component-part=\"products-selector-content\"]>div:nth-child(1){--fam: #A08CFF}.dark [data-component-part=\"products-selector-content\"]>div:nth-child(2){--fam: #6B93FF}.dark [data-component-part=\"products-selector-content\"]>div:nth-child(3){--fam: #FF9248}[data-component-part=\"products-selector-content\"]>div>div:first-child{width:13rem!important}@media (max-width: 960px){[data-component-part=\"products-selector-content\"]>div>div:first-child{width:100%!important}}[data-component-part=\"products-selector-content\"]>div>div:first-child>div:first-child{gap:7px;margin:4px 0 6px;padding:0 10px!important;font-family:ui-monospace, \"SF Mono\", \"Geist Mono\", monospace;font-size:.64rem!important;font-weight:400!important;letter-spacing:.08em;text-transform:uppercase;color:var(--ps-ink-3)!important}[data-component-part=\"products-selector-content\"]>div>div:first-child>div:first-child::before{content:\"\";width:7px;height:7px;flex:none;border-radius:50%;background:var(--fam)}[data-component-part=\"products-selector-item\"]{grid-template-columns:30px 1fr auto!important;align-items:flex-start!important;gap:11px!important;padding:8px 10px!important;border-radius:10px!important}[data-component-part=\"products-selector-item\"]:hover,[data-component-part=\"products-selector-item\"]:focus-visible{background:color-mix(in srgb, var(--ps-ink) 4.5%, transparent)!important}.nav-dropdown-products-selector-item-icon{position:relative;width:30px;height:30px;border:1px solid var(--ps-line);border-radius:9px;background:var(--ps-bg)}.nav-dropdown-products-selector-item-icon img{opacity:0;width:15px!important;height:15px!important}.nav-dropdown-products-selector-item-icon::after{content:\"\";position:absolute;inset:0;margin:auto;width:15px;height:15px;background-color:var(--fam);mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/mic.svg\"])::after{mask-image:url(\"/images/icons/products/mic.svg\");-webkit-mask-image:url(\"/images/icons/products/mic.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/plug.svg\"])::after{mask-image:url(\"/images/icons/products/plug.svg\");-webkit-mask-image:url(\"/images/icons/products/plug.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/stethoscope.svg\"])::after{mask-image:url(\"/images/icons/products/stethoscope.svg\");-webkit-mask-image:url(\"/images/icons/products/stethoscope.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/bot.svg\"])::after{mask-image:url(\"/images/icons/products/bot.svg\");-webkit-mask-image:url(\"/images/icons/products/bot.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/brain-circuit.svg\"])::after{mask-image:url(\"/images/icons/products/brain-circuit.svg\");-webkit-mask-image:url(\"/images/icons/products/brain-circuit.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/database.svg\"])::after{mask-image:url(\"/images/icons/products/database.svg\");-webkit-mask-image:url(\"/images/icons/products/database.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/clipboard-list.svg\"])::after{mask-image:url(\"/images/icons/products/clipboard-list.svg\");-webkit-mask-image:url(\"/images/icons/products/clipboard-list.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/bed-double.svg\"])::after{mask-image:url(\"/images/icons/products/bed-double.svg\");-webkit-mask-image:url(\"/images/icons/products/bed-double.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/receipt.svg\"])::after{mask-image:url(\"/images/icons/products/receipt.svg\");-webkit-mask-image:url(\"/images/icons/products/receipt.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/folder-heart.svg\"])::after{mask-image:url(\"/images/icons/products/folder-heart.svg\");-webkit-mask-image:url(\"/images/icons/products/folder-heart.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/arrow-left-right.svg\"])::after{mask-image:url(\"/images/icons/products/arrow-left-right.svg\");-webkit-mask-image:url(\"/images/icons/products/arrow-left-right.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/shield-check.svg\"])::after{mask-image:url(\"/images/icons/products/shield-check.svg\");-webkit-mask-image:url(\"/images/icons/products/shield-check.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/network.svg\"])::after{mask-image:url(\"/images/icons/products/network.svg\");-webkit-mask-image:url(\"/images/icons/products/network.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/rocket.svg\"])::after{mask-image:url(\"/images/icons/products/rocket.svg\");-webkit-mask-image:url(\"/images/icons/products/rocket.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/key-round.svg\"])::after{mask-image:url(\"/images/icons/products/key-round.svg\");-webkit-mask-image:url(\"/images/icons/products/key-round.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/webhook.svg\"])::after{mask-image:url(\"/images/icons/products/webhook.svg\");-webkit-mask-image:url(\"/images/icons/products/webhook.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/lock.svg\"])::after{mask-image:url(\"/images/icons/products/lock.svg\");-webkit-mask-image:url(\"/images/icons/products/lock.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/code.svg\"])::after{mask-image:url(\"/images/icons/products/code.svg\");-webkit-mask-image:url(\"/images/icons/products/code.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/messages-square.svg\"])::after{mask-image:url(\"/images/icons/products/messages-square.svg\");-webkit-mask-image:url(\"/images/icons/products/messages-square.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/compass.svg\"])::after{mask-image:url(\"/images/icons/products/compass.svg\");-webkit-mask-image:url(\"/images/icons/products/compass.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/flask-conical.svg\"])::after{mask-image:url(\"/images/icons/products/flask-conical.svg\");-webkit-mask-image:url(\"/images/icons/products/flask-conical.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/history.svg\"])::after{mask-image:url(\"/images/icons/products/history.svg\");-webkit-mask-image:url(\"/images/icons/products/history.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/activity.svg\"])::after{mask-image:url(\"/images/icons/products/activity.svg\");-webkit-mask-image:url(\"/images/icons/products/activity.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/git-branch.svg\"])::after{mask-image:url(\"/images/icons/products/git-branch.svg\");-webkit-mask-image:url(\"/images/icons/products/git-branch.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/chef-hat.svg\"])::after{mask-image:url(\"/images/icons/products/chef-hat.svg\");-webkit-mask-image:url(\"/images/icons/products/chef-hat.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/package.svg\"])::after{mask-image:url(\"/images/icons/products/package.svg\");-webkit-mask-image:url(\"/images/icons/products/package.svg\")}.dark [data-component-part=\"products-selector-trigger\"]>img{filter:invert(1);opacity:.85}.nav-dropdown-products-selector-item-title{font-size:.84rem!important;font-weight:550!important;color:var(--ps-ink)!important}.nav-dropdown-products-selector-item-description{font-size:.74rem!important;line-height:1.4;margin-top:1px;color:var(--ps-ink-3)!important;white-space:normal!important;-webkit-line-clamp:2!important;line-clamp:2!important}[data-component-part=\"products-selector-item\"][data-selected=\"true\"] .nav-dropdown-products-selector-item-icon{border-color:color-mix(in srgb, var(--fam) 45%, transparent);background:color-mix(in srgb, var(--fam) 12%, var(--ps-surface))}#navigation-items .sidebar-group-header{gap:0!important;padding-left:1rem}#navigation-items .sidebar-group-header :is(svg,img){display:none!important}#navigation-items .sidebar-title{font-family:ui-monospace, \"SF Mono\", \"Geist Mono\", monospace!important;font-size:.66rem!important;font-weight:500!important;letter-spacing:.08em;text-transform:uppercase;color:#93938E!important}.dark #navigation-items .sidebar-title{color:#6B6B68!important}#navigation-items>div+div{margin-top:1.25rem!important}#navigation-items ul.sidebar-group li>ul{margin-left:1.45rem;padding-left:.5rem;border-left:1px solid #E7E7E4}.dark #navigation-items ul.sidebar-group li>ul{border-left-color:rgba(255, 255, 255, .08)}#navigation-items ul.sidebar-group li>ul :is(svg,img){width:14px!important;height:14px!important;opacity:.7}.eka-qs{border:1px solid #E7E7E4;border-radius:16px;background:#FFFFFF;padding:20px 24px 16px;margin:16px 0 28px;color:#1F2937;font-size:15px;line-height:1.55}.eka-qs code{font-size:13px;padding:1px 5px;border-radius:5px;background:rgba(17, 24, 39, 0.05)}.eka-qs a{color:#215FFF;text-decoration:underline;text-underline-offset:2px}.eka-qs-stepper{display:flex;gap:0;list-style:none;margin:0 0 12px;padding:0 0 4px;overflow-x:auto}.eka-qs-stepper-item{display:flex;align-items:flex-start;flex:1 0 auto;margin:0;padding:0}.eka-qs-stepper-item+.eka-qs-stepper-item::before{content:\"\";flex:1 0 16px;height:1px;margin:18px 6px 0;background:#E7E7E4}.eka-qs-stepper-btn{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:72px;padding:0;border:none;background:none;color:inherit;font:inherit;cursor:pointer}.eka-qs-stepper-btn:disabled{cursor:default}.eka-qs-circle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid #E7E7E4;background:#FFFFFF;color:#6B7280;font-size:14px;font-weight:600}.eka-qs-stepper-label{font-size:13px;color:#6B7280;text-align:center;white-space:nowrap}.eka-qs-current .eka-qs-circle{background:#215FFF;border-color:#215FFF;color:#FFFFFF}.eka-qs-current .eka-qs-stepper-label{color:#111827;font-weight:700}.eka-qs-done .eka-qs-circle{border-color:#215FFF;color:#215FFF}.eka-qs-status{min-height:1.5em;margin:4px 0 12px;font-size:14px;color:#4B5563}.eka-qs-status-ok{color:#067647}.eka-qs-status-error{color:#B42318}.eka-qs-status-info{color:#1D4ED8}.eka-qs-form{display:flex;flex-direction:column;gap:14px}.eka-qs-form form{display:flex;flex-direction:column;gap:14px}.eka-qs-title{margin:0;font-size:17px;font-weight:600;color:#111827}.eka-qs-lede{margin:-6px 0 0;color:#4B5563}.eka-qs-field{display:flex;flex-direction:column;gap:6px}.eka-qs-label{font-size:14px;font-weight:500;color:#111827}.eka-qs-pill{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;vertical-align:middle;color:#B54708;background:#FEF0C7}.eka-qs-input{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #D0D5DD;border-radius:10px;background:#FFFFFF;color:#111827;font:inherit}.eka-qs-input:focus{outline:2px solid rgba(33, 95, 255, 0.35);outline-offset:1px;border-color:#215FFF}.eka-qs-secret{display:flex;gap:8px}.eka-qs-secret .eka-qs-input{flex:1;min-width:0}.eka-qs-reveal{flex-shrink:0;padding:0 14px;border:1px solid #D0D5DD;border-radius:10px;background:#FFFFFF;color:#374151;font-size:13px;cursor:pointer}.eka-qs-hint{margin:0;font-size:13px;color:#6B7280}.eka-qs-btn{align-self:flex-start;padding:9px 18px;border:1px solid #215FFF;border-radius:10px;background:#215FFF;color:#FFFFFF;font:inherit;font-weight:600;cursor:pointer}.eka-qs-btn:hover:not(:disabled){background:#1A4FD6}.eka-qs-btn:disabled{opacity:0.5;cursor:not-allowed}.eka-qs-btn-quiet{background:#FFFFFF;color:#215FFF}.eka-qs-btn-quiet:hover:not(:disabled){background:rgba(33, 95, 255, 0.06)}.eka-qs-chips{display:flex;flex-wrap:wrap;gap:8px}.eka-qs-chip{padding:5px 12px;border:1px solid #D0D5DD;border-radius:999px;background:#FFFFFF;color:#111827;font-size:14px;cursor:pointer}.eka-qs-chip-on{border-color:#215FFF;color:#215FFF;background:rgba(33, 95, 255, 0.06)}.eka-qs-callout,.eka-qs-result{padding:12px 16px;border:1px solid #E7E7E4;border-radius:12px;background:#F9FAFB}.eka-qs-callout p,.eka-qs-result p{margin:0 0 8px}.eka-qs-callout p:last-child,.eka-qs-result p:last-child{margin-bottom:0}.eka-qs-callout ul{margin:0 0 8px;padding-left:20px}.eka-qs-result dl{display:grid;gap:6px;margin:0 0 12px}.eka-qs-result dl div{display:flex;flex-wrap:wrap;gap:4px 12px}.eka-qs-result dt{min-width:110px;font-weight:600;color:#374151}.eka-qs-result dd{margin:0;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;word-break:break-all}.eka-qs-log{display:flex;flex-direction:column;gap:12px}.eka-qs-exchange{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);gap:12px}.eka-qs-panel{min-width:0}.eka-qs-panel-label{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.04em;color:#6B7280}.eka-qs-pre{margin:0;max-height:320px;overflow:auto;padding:10px 12px;border:1px solid #E7E7E4;border-radius:10px;background:#F9FAFB;color:#1F2937;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:12.5px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.eka-qs-code{padding:1px 7px;border-radius:999px;font-size:11px;letter-spacing:0}.eka-qs-code-ok{color:#067647;background:#DCFAE6}.eka-qs-code-bad{color:#B42318;background:#FEE4E2}.eka-qs-note{margin:6px 0 0;font-size:13px;color:#6B7280}.eka-qs-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;padding-top:12px;border-top:1px solid #E7E7E4}.eka-qs-sandbox{font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:12px;color:#6B7280}@media (max-width: 640px){.eka-qs{padding:16px}.eka-qs-exchange{grid-template-columns:minmax(0, 1fr)}.eka-qs-stepper-btn{min-width:64px}}.dark .eka-qs{background:#0F1117;border-color:rgba(255, 255, 255, 0.12);color:#E5E7EB}.dark .eka-qs code{background:rgba(255, 255, 255, 0.08)}.dark .eka-qs a{color:#7DA2FF}.dark .eka-qs-stepper-item+.eka-qs-stepper-item::before{background:rgba(255, 255, 255, 0.12)}.dark .eka-qs-circle{background:#0F1117;border-color:rgba(255, 255, 255, 0.18);color:#9CA3AF}.dark .eka-qs-stepper-label,.dark .eka-qs-hint,.dark .eka-qs-note,.dark .eka-qs-sandbox,.dark .eka-qs-panel-label{color:#9CA3AF}.dark .eka-qs-current .eka-qs-circle{background:#215FFF;border-color:#215FFF;color:#FFFFFF}.dark .eka-qs-current .eka-qs-stepper-label,.dark .eka-qs-title,.dark .eka-qs-label{color:#F9FAFB}.dark .eka-qs-done .eka-qs-circle{border-color:#7DA2FF;color:#7DA2FF}.dark .eka-qs-lede,.dark .eka-qs-status{color:#D1D5DB}.dark .eka-qs-status-ok{color:#75E0A7}.dark .eka-qs-status-error{color:#F97066}.dark .eka-qs-status-info{color:#93B4FF}.dark .eka-qs-pill{color:#FEC84B;background:rgba(254, 200, 75, 0.14)}.dark .eka-qs-input,.dark .eka-qs-reveal,.dark .eka-qs-chip{background:#161922;border-color:rgba(255, 255, 255, 0.16);color:#F3F4F6}.dark .eka-qs-btn-quiet{background:transparent;color:#7DA2FF;border-color:#7DA2FF}.dark .eka-qs-chip-on{border-color:#7DA2FF;color:#7DA2FF;background:rgba(125, 162, 255, 0.10)}.dark .eka-qs-callout,.dark .eka-qs-result,.dark .eka-qs-pre{background:rgba(255, 255, 255, 0.04);border-color:rgba(255, 255, 255, 0.12);color:#E5E7EB}.dark .eka-qs-result dt{color:#D1D5DB}.dark .eka-qs-code-ok{color:#75E0A7;background:rgba(117, 224, 167, 0.12)}.dark .eka-qs-code-bad{color:#F97066;background:rgba(249, 112, 102, 0.12)}.dark .eka-qs-footer{border-top-color:rgba(255, 255, 255, 0.12)}#navbar a[href^=\"https://discord.gg/\"]>span{display:none!important}#navbar a[href^=\"https://discord.gg/\"]>svg{width:18px;height:18px}#navbar a[href=\"/developer-tools\"]>span,#navbar a[href=\"https://github.com/eka-care\"]>span,#navbar a[href=\"https://huggingface.co/ekacare\"]>span,#navbar a[href=\"https://discord.gg/THgd5S22EK\"]>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#navbar a[href=\"/developer-tools\"],#navbar a[href=\"https://github.com/eka-care\"],#navbar a[href=\"https://huggingface.co/ekacare\"],#navbar a[href=\"https://discord.gg/THgd5S22EK\"]{padding:6px;border-radius:8px}#navbar a[href=\"https://github.com/eka-care\"] img,#navbar a[href=\"https://huggingface.co/ekacare\"] img,#navbar a[href=\"https://discord.gg/THgd5S22EK\"] img{opacity:.8}.dark #navbar a[href=\"https://github.com/eka-care\"] img,.dark #navbar a[href=\"https://huggingface.co/ekacare\"] img,.dark #navbar a[href=\"https://discord.gg/THgd5S22EK\"] img{filter:invert(1)}#footer{background:color-mix(in srgb, #7C5CFF 7%, transparent)}.eka-footmark{width:100%;max-width:1080px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:18px 32px 28px;border-top:1px solid rgba(124, 92, 255, .22);font-size:.8rem;color:rgb(var(--gray-500))}.eka-footmark b{font-weight:500;color:rgb(var(--gray-900))}.dark .eka-footmark b{color:rgb(var(--gray-100))}.eka-footmark span{display:inline-flex;align-items:center;gap:8px}.eka-heart{display:inline-flex;transition:transform .2s}.eka-heart:hover{transform:scale(1.15)}html[data-current-path=\"/\"]:not(:has(.eka-landing)) body>*{visibility:hidden}html[data-current-path=\"/\"]:not(:has(.eka-landing)) body{background:#FAFAF9}html.dark[data-current-path=\"/\"]:not(:has(.eka-landing)) body{background:#0A0A0A}"}],"page":{"pagePath":"api-sdk/emr/appointment-api/get-slots","slug":"/api-sdk/emr/appointment-api/get-slots","pageMetadata":{"title":"Get Slots","openapi":"get /dr/v1/slots","description":"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.","href":"/api-sdk/emr/appointment-api/get-slots"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Replaces `,_jsx(_components.a,{href:`/api-sdk/emr/appointment-api/get-appointment-slots`,children:`Get Appointment Slots (Legacy)`}),`.`]}),`\n`,_jsx(_components.p,{children:`Every schedule mapped against that doctor and clinic: patient, front desk or IPD.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-keys`,children:`Query keys`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`What it means`}),_jsx(_components.th,{children:`If you leave it out`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`doc_id`})}),_jsx(_components.td,{children:`yes`}),_jsx(_components.td,{children:`Doctor id. For clinic slots, use the clinic id in its place`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`400 MISSING_DOC_ID`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`startTime`})}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`Window start, ISO with `,_jsx(_components.code,{children:`Z`}),`: `,_jsx(_components.code,{children:`2026-11-13T18:30:00.000Z`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`endTime`})}),_jsx(_components.td,{children:`yes`}),_jsx(_components.td,{children:`Window end, same format`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cid`})}),_jsx(_components.td,{children:`no`}),_jsx(_components.td,{children:`Clinic id`}),_jsx(_components.td,{children:`Every clinic of the doctor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bookable_by`})}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`patient`}),`, `,_jsx(_components.code,{children:`front_desk`}),` or `,_jsx(_components.code,{children:`ipd`}),`. See below`]}),_jsx(_components.td,{children:`Every schedule`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`schedule_id`})}),_jsx(_components.td,{children:`no`}),_jsx(_components.td,{children:`Only this schedule’s slots`}),_jsx(_components.td,{children:`Slots of all schedules`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_id`})}),_jsx(_components.td,{children:`no`}),_jsx(_components.td,{children:`Only that service is returned`}),_jsx(_components.td,{children:`Every service mapped`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mode`})}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`in-clinic`}),` or `,_jsx(_components.code,{children:`tele`})]}),_jsx(_components.td,{children:`Both`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`duration`})}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`Slot length in minutes. Only duration schedules use it; service schedules ignore it. A length the schedule doesn’t have (e.g. `,_jsx(_components.code,{children:`45`}),` when `,_jsx(_components.code,{children:`slot_durations`}),` is `,_jsx(_components.code,{children:`[15, 30, 60]`}),`) falls back to the shortest one, see `,_jsx(_components.a,{href:`#slot-length-in-a-duration-schedule`,children:`Slot length in a duration schedule`})]}),_jsx(_components.td,{children:`The schedule’s shortest length`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`header `,_jsx(_components.code,{children:`time-zone`})]}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`Time zone of `,_jsx(_components.code,{children:`s`}),` and `,_jsx(_components.code,{children:`e`}),` in the reply`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Asia/Kolkata`})})]})]})]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`mode`}),` is set on each service, not on the schedule.`]})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Service schedule: every service is `,_jsx(_components.code,{children:`in-clinic`}),`, `,_jsx(_components.code,{children:`tele`}),`. `,_jsx(_components.code,{children:`mode=tele`}),` gives only the tele services’ slots. in service based schedules are mapped on the service`]}),`\n`,_jsxs(_components.li,{children:[`Duration schedule: it has no services, so its slots are for both `,_jsx(_components.code,{children:`in-clinic`}),` and `,_jsx(_components.code,{children:`tele`}),`. `,_jsx(_components.code,{children:`mode`}),` is ignored.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`bookable_by`,children:_jsx(_components.code,{children:`bookable_by`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Who books`}),_jsx(_components.th,{children:`What changes in the reply`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`patient`})}),_jsx(_components.td,{children:`The slots/schedules you want to expose to the patient for booking: your website, booking page, patient app, the slots you might send to the patient over whats-app, etc`}),_jsxs(_components.td,{children:[`Services with `,_jsx(_components.code,{children:`allow_patient_booking: false`}),` are hidden, even when you also send `,_jsx(_components.code,{children:`schedule_id`}),`. Duration schedules are skipped; if only those exist, `,_jsx(_components.code,{children:`400`}),`. With `,_jsx(_components.code,{children:`schedule_id`}),`, that schedule is served even if it is a duration schedule`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`front_desk`})}),_jsx(_components.td,{children:`Anyone booking from the clinic side: your reception, front desk, doctor, clinic staff, or your own EMR`}),_jsx(_components.td,{children:`Nothing hidden`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ipd`})}),_jsx(_components.td,{children:`Bookings for admitted (in-patient) patients`}),_jsx(_components.td,{children:`Nothing hidden`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Whatever you send, only regular services get slots. Follow-up services (`,_jsx(_components.code,{children:`appointment_type`}),` other than `,_jsx(_components.code,{children:`REGULAR`}),`) and archived services never do.`]}),`\n`,_jsx(Heading,{level:`2`,id:`which-schedules-come-back`,children:`Which schedules come back`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`You send`}),_jsx(_components.th,{children:`You get`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`schedule_id`})}),_jsxs(_components.td,{children:[`Only that schedule, whoever can book on it. Not this doctor’s or clinic’s: `,_jsx(_components.code,{children:`404`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bookable_by`})}),_jsx(_components.td,{children:`Every active schedule that group can book on`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Neither`}),_jsx(_components.td,{children:`Every active schedule. A schedule that both patients and the front desk can book on comes once`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`mode`}),`, `,_jsx(_components.code,{children:`service_id`}),` or `,_jsx(_components.code,{children:`bookable_by=patient`}),`, a service schedule that never offers a matching service is left out. Example: `,_jsx(_components.code,{children:`mode=tele`}),` leaves out a schedule that only has in-clinic services. A schedule that offers it but has no slots between `,_jsx(_components.code,{children:`startTime`}),` and `,_jsx(_components.code,{children:`endTime`}),` stays, with empty slots and `,_jsx(_components.code,{children:`next`}),`. Duration schedules always stay. If nothing is left: `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`clinic-slots-no-doctor`,children:`Clinic slots (no doctor)`}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[`Put the clinic id in `,_jsx(_components.strong,{children:`both`}),` `,_jsx(_components.code,{children:`doc_id`}),` and `,_jsx(_components.code,{children:`cid`}),`:`]}),_jsx(_components.p,{children:_jsx(_components.code,{children:`?doc_id=c-cc6a93720d7445af890c4cc0\u0026cid=c-cc6a93720d7445af890c4cc0`})}),_jsxs(_components.p,{children:[`You get the clinic’s own schedules and services. `,_jsx(_components.code,{children:`doctor_oid`}),` comes back `,_jsx(_components.code,{children:`null`}),`. Clinic schedules are read in IST.`]}),_jsxs(_components.p,{children:[`To make one, call `,_jsx(_components.a,{href:`/api-sdk/emr/appointment-api/create-schedule`,children:`Create Schedule`}),` with the clinic id in both `,_jsx(_components.code,{children:`entity_id`}),` and `,_jsx(_components.code,{children:`location_id`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`service-schedules-vs-duration-schedules`,children:`Service schedules vs duration schedules`}),`\n`,_jsxs(_components.p,{children:[`A duration schedule has no services. Its slots are plain time cut at one length, so `,_jsx(_components.code,{children:`conf_id`}),` is `,_jsx(_components.code,{children:`null`}),`, it has no `,_jsx(_components.code,{children:`services`}),` list, and it adds nothing to the top-level `,_jsx(_components.code,{children:`services`}),`. A reply with only duration schedules has `,_jsx(_components.code,{children:`services: []`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsxs(_components.th,{children:[`Service schedule (`,_jsx(_components.code,{children:`slot_mode: service`}),`)`]}),_jsxs(_components.th,{children:[`Duration schedule (`,_jsx(_components.code,{children:`slot_mode: duration`}),`)`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Slot length`}),_jsxs(_components.td,{children:[`Each service’s own `,_jsx(_components.code,{children:`duration`})]}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`duration`}),` you send if it is in the schedule’s `,_jsx(_components.code,{children:`slot_durations`}),`, else the shortest one there`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Slots come in`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`services[].slots`}),`, one list per service type`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`slots`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`conf_id`}),` on a slot`]}),_jsx(_components.td,{children:`The service it books`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`service_id`}),`, `,_jsx(_components.code,{children:`mode`})]}),_jsx(_components.td,{children:`Applied`}),_jsx(_components.td,{children:`Ignored`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Service slots also follow each service’s booking window: none sooner than `,_jsx(_components.code,{children:`book_before_mins`}),` from now, none later than `,_jsx(_components.code,{children:`book_ahead_days`}),` ahead. Past slots never come back.`]}),`\n`,_jsx(Heading,{level:`3`,id:`slot-length-in-a-duration-schedule`,children:`Slot length in a duration schedule`}),`\n`,_jsxs(_components.p,{children:[`A schedule with `,_jsx(_components.code,{children:`slot_durations: [15, 30, 60]`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsxs(_components.th,{children:[_jsx(_components.code,{children:`duration`}),` you send`]}),_jsx(_components.th,{children:`Slots are cut at`}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`slot_duration`}),` in the reply`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`30`})}),_jsx(_components.td,{children:`30 minutes`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`30`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`40`}),`, not in `,_jsx(_components.code,{children:`slot_durations`})]}),_jsx(_components.td,{children:`15 minutes, the shortest`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`15`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Left out`}),_jsx(_components.td,{children:`15 minutes, the shortest`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`15`})})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`duration`}),` the schedule doesn’t have is not an error. You get `,_jsx(_components.code,{children:`200`}),` with slots at the shortest length. Read `,_jsx(_components.code,{children:`slot_duration`}),` before you show or book a slot, so a 15-minute slot is not shown as a 40-minute one.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`dates`,children:`Dates`}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`startTime`}),` and `,_jsx(_components.code,{children:`endTime`}),` as full ISO with `,_jsx(_components.code,{children:`Z`}),`. One day in India is `,_jsx(_components.code,{children:`startTime=2026-11-13T18:30:00.000Z\u0026endTime=2026-11-14T18:29:59.999Z`}),`.`]}),_jsxs(_components.p,{children:[`A date alone (`,_jsx(_components.code,{children:`2026-11-14`}),`) means 00:00 UTC, which is 05:30 IST, so early-morning slots get cut.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`Why`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid date input: ...`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`startTime`}),` or `,_jsx(_components.code,{children:`endTime`}),` is bad, or the end is before the start`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MISSING_DOC_ID`})}),_jsxs(_components.td,{children:[`No `,_jsx(_components.code,{children:`doc_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid \u003ckey>`})}),_jsx(_components.td,{children:`Bad value, or the same key sent twice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Unpaid doctor account`})}),_jsx(_components.td,{children:`The doctor’s Eka plan is not active`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`duration-based schedules are not available on this endpoint`})}),_jsxs(_components.td,{children:[`when you send `,_jsx(_components.code,{children:`bookable_by=patient`}),`, but the doctor/clinic has ONLY duration based schedules`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{children:`Something failed on our side. Retry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Schedule not setup for the doctor`})}),_jsx(_components.td,{children:`No active schedule for this doctor and clinic`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Schedule not found`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`schedule_id`}),` is unknown or not this doctor’s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`No schedule offers the requested mode / service_id`})}),_jsxs(_components.td,{children:[`You sent `,_jsx(_components.code,{children:`mode`}),`, `,_jsx(_components.code,{children:`service_id`}),` or `,_jsx(_components.code,{children:`bookable_by=patient`}),`, and no schedule offers a matching service`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Every error body carries empty `,_jsx(_components.code,{children:`data`}),`: `,_jsx(_components.code,{children:`{ \"schedules\": [], \"services\": [] }`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`coming-from-get-appointment-slots-legacy`,children:`Coming from Get Appointment Slots (Legacy)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Legacy`}),_jsx(_components.th,{children:`Get Slots`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Path`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/dr/v1/doctor/{doctor_id}/clinic/{clinic_id}/appointment/slot`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/dr/v1/slots?doc_id=...\u0026cid=...`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Dates`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`start_date`}),`, `,_jsx(_components.code,{children:`end_date`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`startTime`}),`, `,_jsx(_components.code,{children:`endTime`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Schedules`}),_jsx(_components.td,{children:`Only the one patients book on`}),_jsxs(_components.td,{children:[`Any. Pick with `,_jsx(_components.code,{children:`bookable_by`}),` or `,_jsx(_components.code,{children:`schedule_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reply shape`}),_jsx(_components.td,{children:`Objects keyed by clinic and service`}),_jsxs(_components.td,{children:[`Lists: `,_jsx(_components.code,{children:`schedules[]`}),`, `,_jsx(_components.code,{children:`services[]`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Errors`}),_jsx(_components.td,{children:`Empty body, no reason`}),_jsxs(_components.td,{children:[`The reason is in `,_jsx(_components.code,{children:`error`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Unpaid doctor`}),_jsx(_components.td,{children:`Slots still come back`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`400 Unpaid doctor account`})})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Slots","openapi":"get /dr/v1/slots","description":"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.","href":"/api-sdk/emr/appointment-api/get-slots"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Query keys","slug":"query-keys","depth":2,"children":[]},{"title":"bookable_by","slug":"bookable_by","depth":2,"children":[]},{"title":"Which schedules come back","slug":"which-schedules-come-back","depth":2,"children":[]},{"title":"Clinic slots (no doctor)","slug":"clinic-slots-no-doctor","depth":2,"children":[]},{"title":"Service schedules vs duration schedules","slug":"service-schedules-vs-duration-schedules","depth":2,"children":[{"title":"Slot length in a duration schedule","slug":"slot-length-in-a-duration-schedule","depth":3,"children":[]}]},{"title":"Dates","slug":"dates","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Coming from Get Appointment Slots (Legacy)","slug":"coming-from-get-appointment-slots-legacy","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ekacare/274025ccf21300f6/api-reference-link.js","/_mintlify/custom/ekacare/d45043582cd01159/ask-ai.js","/_mintlify/custom/ekacare/42ebe35a74070514/console-links.js","/_mintlify/custom/ekacare/5e6903411e400df6/footer-mark.js","/_mintlify/custom/ekacare/5f178d6c6749d135/sidebar-memory.js"],"openApiReferenceData":{"operation":{"tags":["Appointment API"],"summary":"Get Slots","description":"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.","operationId":"GetSlots","parameters":["373b3d9c-6cba-44a2-9d86-3bab07693bbc","e40fff93-5651-4850-abf4-7e9af3d27ce5","88e58361-093a-4c74-8601-bd58d57a6d58","9543cdec-158d-4466-9e66-18dd8e00ce43","1bffac0d-fc88-408f-a9dc-448e6693932d","f3115d36-df8b-4d68-8eea-cd8e2d09b479","31c59fcf-7648-45d4-86ad-4e306c4dcd3f","145d0cba-1f26-4fa3-b367-6ecc188f8d62","73cb5187-e12f-45a2-9f1d-75b97b4dc556","7c4e06d7-05b6-4e04-8ce9-3ec2016b9758","1656dd4f-66e3-490c-b43e-8ead198c98a7"],"responses":{"200":"4cfb57f1-4bbb-4fa1-b7ca-83473173d1f5","400":"d3776d31-9cee-47bc-bdee-03bdb6c7cfad","404":"ced2a6c7-d1aa-468e-a97f-dcd55dd798d9"},"deprecated":false,"method":"get","type":"path","servers":["9bb78dca-7fa6-48c9-af96-d06873cd90d6","90c90f6b-dee4-4e73-8e9c-dcb1c1575861"],"security":[],"path":"/dr/v1/slots","baseUrlOptions":["https://api.eka.care","https://api.dev.eka.care"],"title":"Get Slots","codeSamples":[],"requestExampleLanguages":["bash","python","typescript","java","csharp","ruby"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"373b3d9c-6cba-44a2-9d86-3bab07693bbc":{"name":"auth","in":"header","description":"","required":true,"style":"simple","schema":{"type":"string","example":"auth","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"e40fff93-5651-4850-abf4-7e9af3d27ce5":{"name":"time-zone","in":"header","description":"Time zone for `s` and `e` in the reply, e.g. `Asia/Dubai`. Defaults to `Asia/Kolkata`.","required":false,"style":"simple","schema":{"type":"string","example":"Asia/Kolkata","isRequired":false,"description":"Time zone for `s` and `e` in the reply, e.g. `Asia/Dubai`. Defaults to `Asia/Kolkata`.","uniqueKey":"","typeLabel":"string"}},"88e58361-093a-4c74-8601-bd58d57a6d58":{"name":"doc_id","in":"query","description":"Doctor id. For clinic slots, use the clinic id in its place (send the same id in `cid`).","required":true,"style":"form","explode":true,"schema":{"type":"string","example":"174368482468425","isRequired":true,"description":"Doctor id. For clinic slots, use the clinic id in its place (send the same id in `cid`).","uniqueKey":"","typeLabel":"string"}},"9543cdec-158d-4466-9e66-18dd8e00ce43":{"name":"startTime","in":"query","description":"Window start, ISO-8601 with `Z`. A date alone (`2026-11-14`) means 00:00 UTC, which is 05:30 in India.","required":true,"style":"form","explode":true,"schema":{"type":"string","example":"2026-11-13T18:30:00.000Z","isRequired":true,"description":"Window start, ISO-8601 with `Z`. A date alone (`2026-11-14`) means 00:00 UTC, which is 05:30 in India.","uniqueKey":"","typeLabel":"string"}},"1bffac0d-fc88-408f-a9dc-448e6693932d":{"name":"endTime","in":"query","description":"Window end, same format. Must not be before `startTime`.","required":true,"style":"form","explode":true,"schema":{"type":"string","example":"2026-11-14T18:29:59.999Z","isRequired":true,"description":"Window end, same format. Must not be before `startTime`.","uniqueKey":"","typeLabel":"string"}},"f3115d36-df8b-4d68-8eea-cd8e2d09b479":{"name":"cid","in":"query","description":"Clinic id. Leave it out to get every clinic of the doctor.","required":false,"style":"form","explode":true,"schema":{"type":"string","example":"67ee84d9087b41001de0cfb1","isRequired":false,"description":"Clinic id. Leave it out to get every clinic of the doctor.","uniqueKey":"","typeLabel":"string"}},"31c59fcf-7648-45d4-86ad-4e306c4dcd3f":{"name":"bookable_by","in":"query","description":"Only schedules this group can book on: `patient` (patients book by themselves), `front_desk` (anyone booking from the clinic side: your reception, front desk, doctor, clinic staff, or your own EMR) or `ipd` (admitted patients). Leave it out to get every schedule.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["patient","front_desk","ipd"],"isRequired":false,"description":"Only schedules this group can book on: `patient` (patients book by themselves), `front_desk` (anyone booking from the clinic side: your reception, front desk, doctor, clinic staff, or your own EMR) or `ipd` (admitted patients). Leave it out to get every schedule.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"145d0cba-1f26-4fa3-b367-6ecc188f8d62":{"name":"schedule_id","in":"query","description":"Only this schedule, whoever can book on it. `bookable_by=patient` still hides services patients can't book.","required":false,"style":"form","explode":true,"schema":{"type":"string","example":"6a7b046c1cf45d28c2c308b3","isRequired":false,"description":"Only this schedule, whoever can book on it. `bookable_by=patient` still hides services patients can't book.","uniqueKey":"","typeLabel":"string"}},"73cb5187-e12f-45a2-9f1d-75b97b4dc556":{"name":"service_id","in":"query","description":"Only services of this service type, e.g. Consultation. A service schedule that never offers it is left out. Duration schedules ignore it.","required":false,"style":"form","explode":true,"schema":{"type":"integer","example":444895,"isRequired":false,"description":"Only services of this service type, e.g. Consultation. A service schedule that never offers it is left out. Duration schedules ignore it.","uniqueKey":"","typeLabel":"integer"}},"7c4e06d7-05b6-4e04-8ce9-3ec2016b9758":{"name":"mode","in":"query","description":"Only services offered in this mode. A service schedule that never offers this mode is left out. Duration schedules ignore it.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["in-clinic","tele"],"isRequired":false,"description":"Only services offered in this mode. A service schedule that never offers this mode is left out. Duration schedules ignore it.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"1656dd4f-66e3-490c-b43e-8ead198c98a7":{"name":"duration","in":"query","description":"Slot length in minutes, for duration schedules only. If it is in the schedule's `slot_durations`, slots are cut at it. If it is not, or you leave it out, slots are cut at the shortest length in `slot_durations` (not an error). `slot_duration` in the reply is the length used.","required":false,"style":"form","explode":true,"schema":{"type":"integer","example":15,"isRequired":false,"description":"Slot length in minutes, for duration schedules only. If it is in the schedule's `slot_durations`, slots are cut at it. If it is not, or you leave it out, slots are cut at the shortest length in `slot_durations` (not an error). `slot_duration` in the reply is the length used.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"4cfb57f1-4bbb-4fa1-b7ca-83473173d1f5":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"schedules":{"type":"array","description":"One entry per schedule per clinic.","items":{"type":"object","properties":{"schedule_id":{"type":"string","uniqueKey":"data.schedules.items.[INDEX].schedule_id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.schedules.items.[INDEX].name","typeLabel":"string"},"doctor_oid":{"oneOf":[{"type":"string","description":"The doctor. `null` for clinic slots.","uniqueKey":"data.schedules.items.[INDEX].doctor_oid.oneOf.0","typeLabel":"string"},{"type":"null","description":"The doctor. `null` for clinic slots.","uniqueKey":"data.schedules.items.[INDEX].doctor_oid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schedules.items.[INDEX].doctor_oid","typeLabel":"string | null"},"clinic_id":{"type":"string","uniqueKey":"data.schedules.items.[INDEX].clinic_id","typeLabel":"string"},"slot_mode":{"type":"string","enum":["service","duration"],"description":"`service`: slots are grouped under `services`, one list per service type. `duration`: one plain `slots` list.","uniqueKey":"data.schedules.items.[INDEX].slot_mode","typeLabel":"enum\u003cstring>"},"services":{"type":"array","description":"Only when `slot_mode` is `service`.","items":{"type":"object","properties":{"service_id":{"type":"integer","description":"Service type, e.g. Consultation.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].service_id","typeLabel":"integer"},"slots":{"type":"array","items":{"title":"GetSlotsSlot","type":"object","properties":{"s":{"type":"string","description":"Slot start, ISO, in the `time-zone` header zone.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].s","typeLabel":"string"},"e":{"type":"string","description":"Slot end.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].e","typeLabel":"string"},"available":{"type":"boolean","description":"`true` = can be booked: not blocked, and fewer bookings than the schedule's `overbooking_limit`.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].available","typeLabel":"boolean"},"slots_booked":{"type":"integer","description":"Appointments already in this slot.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].slots_booked","typeLabel":"integer"},"is_calendar_blocked":{"type":"boolean","description":"`true` = a block covers this time (leave, holiday).","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].is_calendar_blocked","typeLabel":"boolean"},"in_schedule":{"type":"boolean","description":"Always `true`. Ignore it.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].in_schedule","typeLabel":"boolean"},"conf_id":{"oneOf":[{"type":"string","description":"The service this slot books. `null` in a duration schedule.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].conf_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The service this slot books. `null` in a duration schedule.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].conf_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].conf_id","typeLabel":"string | null"},"slot_duration":{"type":"integer","description":"Slot length in minutes.","uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX].slot_duration","typeLabel":"integer"}},"uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots.items.[INDEX]","typeLabel":"GetSlotsSlot · object"},"uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX].slots","typeLabel":"GetSlotsSlot · object[]"}},"uniqueKey":"data.schedules.items.[INDEX].services.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.schedules.items.[INDEX].services","typeLabel":"object[]"},"slot_durations":{"type":"array","items":{"type":"integer","uniqueKey":"data.schedules.items.[INDEX].slot_durations.items.[INDEX]","typeLabel":"integer"},"description":"Only when `slot_mode` is `duration`. Lengths this schedule allows, in minutes.","uniqueKey":"data.schedules.items.[INDEX].slot_durations","typeLabel":"integer[]"},"slot_duration":{"oneOf":[{"type":"integer","description":"Only when `slot_mode` is `duration`. Length the slots are cut at: the `duration` you sent if it is in `slot_durations`, else the shortest one in `slot_durations`. `null`, with empty `slots`, only if the schedule has no `slot_durations` saved.","uniqueKey":"data.schedules.items.[INDEX].slot_duration.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Only when `slot_mode` is `duration`. Length the slots are cut at: the `duration` you sent if it is in `slot_durations`, else the shortest one in `slot_durations`. `null`, with empty `slots`, only if the schedule has no `slot_durations` saved.","uniqueKey":"data.schedules.items.[INDEX].slot_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schedules.items.[INDEX].slot_duration","typeLabel":"integer | null"},"slots":{"type":"array","description":"Only when `slot_mode` is `duration`.","items":{"title":"GetSlotsSlot","type":"object","properties":{"s":{"type":"string","description":"Slot start, ISO, in the `time-zone` header zone.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].s","typeLabel":"string"},"e":{"type":"string","description":"Slot end.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].e","typeLabel":"string"},"available":{"type":"boolean","description":"`true` = can be booked: not blocked, and fewer bookings than the schedule's `overbooking_limit`.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].available","typeLabel":"boolean"},"slots_booked":{"type":"integer","description":"Appointments already in this slot.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].slots_booked","typeLabel":"integer"},"is_calendar_blocked":{"type":"boolean","description":"`true` = a block covers this time (leave, holiday).","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].is_calendar_blocked","typeLabel":"boolean"},"in_schedule":{"type":"boolean","description":"Always `true`. Ignore it.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].in_schedule","typeLabel":"boolean"},"conf_id":{"oneOf":[{"type":"string","description":"The service this slot books. `null` in a duration schedule.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].conf_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The service this slot books. `null` in a duration schedule.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].conf_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].conf_id","typeLabel":"string | null"},"slot_duration":{"type":"integer","description":"Slot length in minutes.","uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX].slot_duration","typeLabel":"integer"}},"uniqueKey":"data.schedules.items.[INDEX].slots.items.[INDEX]","typeLabel":"GetSlotsSlot · object"},"uniqueKey":"data.schedules.items.[INDEX].slots","typeLabel":"GetSlotsSlot · object[]"}},"uniqueKey":"data.schedules.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.schedules","typeLabel":"object[]"},"services":{"type":"array","description":"Every service used in `schedules`, with all its keys: price, length, mode and more. Same object as List Services. Empty when only duration schedules come back.","items":{"type":"object","properties":{"conf_id":{"type":"string","uniqueKey":"data.services.items.[INDEX].conf_id","typeLabel":"string"},"service_id":{"type":"integer","uniqueKey":"data.services.items.[INDEX].service_id","typeLabel":"integer"},"service_name":{"type":"string","uniqueKey":"data.services.items.[INDEX].service_name","typeLabel":"string"},"duration":{"type":"integer","uniqueKey":"data.services.items.[INDEX].duration","typeLabel":"integer"},"price":{"type":"number","uniqueKey":"data.services.items.[INDEX].price","typeLabel":"number"},"currency":{"type":"string","uniqueKey":"data.services.items.[INDEX].currency","typeLabel":"string"},"mode":{"type":"array","items":{"type":"string","uniqueKey":"data.services.items.[INDEX].mode.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.services.items.[INDEX].mode","typeLabel":"string[]"},"allow_patient_booking":{"type":"boolean","uniqueKey":"data.services.items.[INDEX].allow_patient_booking","typeLabel":"boolean"},"book_ahead_days":{"type":"integer","uniqueKey":"data.services.items.[INDEX].book_ahead_days","typeLabel":"integer"},"book_before_mins":{"type":"integer","uniqueKey":"data.services.items.[INDEX].book_before_mins","typeLabel":"integer"}},"uniqueKey":"data.services.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.services","typeLabel":"object[]"},"next":{"type":"object","description":"First day after your window with open weekly hours and no block. Service schedules only.","properties":{"av":{"type":"boolean","description":"`true` when such a day exists.","uniqueKey":"data.next.av","typeLabel":"boolean"},"av_date":{"type":"string","description":"That day as ISO. Missing when `av` is `false`.","uniqueKey":"data.next.av_date","typeLabel":"string"}},"uniqueKey":"data.next","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"schedules":[{"schedule_id":"6a5073b865b26270f8a5d4a3","name":"Morning OPD","doctor_oid":"174368482468425","clinic_id":"67ee84d9087b41001de0cfb1","slot_mode":"service","services":[{"service_id":444895,"slots":[{"s":"2026-11-14T09:00:00+05:30","e":"2026-11-14T09:15:00+05:30","available":true,"slots_booked":0,"is_calendar_blocked":false,"in_schedule":true,"conf_id":"3bee28a5c1d94f0e","slot_duration":15},{"s":"2026-11-14T09:15:00+05:30","e":"2026-11-14T09:30:00+05:30","available":false,"slots_booked":1,"is_calendar_blocked":false,"in_schedule":true,"conf_id":"3bee28a5c1d94f0e","slot_duration":15}]}]},{"schedule_id":"6a68f727583a473d68758ab3","name":"Front desk walk-ins","doctor_oid":"174368482468425","clinic_id":"67ee84d9087b41001de0cfb1","slot_mode":"duration","slot_durations":[15,30],"slot_duration":15,"slots":[{"s":"2026-11-14T17:00:00+05:30","e":"2026-11-14T17:15:00+05:30","available":true,"slots_booked":0,"is_calendar_blocked":false,"in_schedule":true,"conf_id":null,"slot_duration":15}]}],"services":[{"conf_id":"3bee28a5c1d94f0e","service_id":444895,"service_name":"Consultation","duration":15,"price":500,"currency":"INR","mode":["in-clinic"],"allow_patient_booking":true,"book_ahead_days":30,"book_before_mins":0}],"next":{"av":true,"av_date":"2026-11-15T18:30:00.000Z"}}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"schedules":[{"schedule_id":"6a5073b865b26270f8a5d4a3","name":"Morning OPD","doctor_oid":"174368482468425","clinic_id":"67ee84d9087b41001de0cfb1","slot_mode":"service","services":[{"service_id":444895,"slots":[{"s":"2026-11-14T09:00:00+05:30","e":"2026-11-14T09:15:00+05:30","available":true,"slots_booked":0,"is_calendar_blocked":false,"in_schedule":true,"conf_id":"3bee28a5c1d94f0e","slot_duration":15},{"s":"2026-11-14T09:15:00+05:30","e":"2026-11-14T09:30:00+05:30","available":false,"slots_booked":1,"is_calendar_blocked":false,"in_schedule":true,"conf_id":"3bee28a5c1d94f0e","slot_duration":15}]}]},{"schedule_id":"6a68f727583a473d68758ab3","name":"Front desk walk-ins","doctor_oid":"174368482468425","clinic_id":"67ee84d9087b41001de0cfb1","slot_mode":"duration","slot_durations":[15,30],"slot_duration":15,"slots":[{"s":"2026-11-14T17:00:00+05:30","e":"2026-11-14T17:15:00+05:30","available":true,"slots_booked":0,"is_calendar_blocked":false,"in_schedule":true,"conf_id":null,"slot_duration":15}]}],"services":[{"conf_id":"3bee28a5c1d94f0e","service_id":444895,"service_name":"Consultation","duration":15,"price":500,"currency":"INR","mode":["in-clinic"],"allow_patient_booking":true,"book_ahead_days":30,"book_before_mins":0}],"next":{"av":true,"av_date":"2026-11-15T18:30:00.000Z"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"d3776d31-9cee-47bc-bdee-03bdb6c7cfad":{"description":"Bad request, or the doctor can't be served right now. `error` says why; see the Errors table on this page.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"data":{"type":"object","properties":{"schedules":{"type":"array","items":{"type":"object","uniqueKey":"data.schedules.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.schedules","typeLabel":"object[]"},"services":{"type":"array","items":{"type":"object","uniqueKey":"data.services.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.services","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Unpaid doctor account","data":{"schedules":[],"services":[]}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Unpaid doctor account","data":{"schedules":[],"services":[]}}}},"exampleType":"examples"}},"exampleType":"examples"},"ced2a6c7-d1aa-468e-a97f-dcd55dd798d9":{"description":"No schedule found for this doctor and clinic, or `schedule_id` is unknown, or you sent `mode`, `service_id` or `bookable_by=patient` and no schedule offers a matching service.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"data":{"type":"object","uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Schedule not setup for the doctor","data":{"schedules":[],"services":[]}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Schedule not setup for the doctor","data":{"schedules":[],"services":[]}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"9bb78dca-7fa6-48c9-af96-d06873cd90d6":{"description":"Production","url":"https://api.eka.care"},"90c90f6b-dee4-4e73-8e9c-dcb1c1575861":{"description":"Stage/Sandbox","url":"https://api.dev.eka.care"}}},"originalFileLocation":"api-reference/doc-tool/doc-tool.yaml"},"subdomain":"ekacare","siteName":"Eka Developer Platform APIs","title":"Get Slots - Eka Developer Platform APIs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T15:56:59.185Z","originalFileLocation":"api-sdk/emr/appointment-api/get-slots.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Slots - Eka Developer Platform APIs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eka Developer Platform APIs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ekacare.mintlify.site/_mintlify/api/og/v2?division=Appointment+API\u0026amp;title=Get+Slots\u0026amp;description=Bookable+slots+for+a+doctor+or+a+clinic%2C+one+entry+per+schedule+per+clinic.\u0026amp;theme=ebd9a500ade8f2a489d311f1\u0026amp;signature=5ffc76d2b79778a687b42d782fde30eabac543d7af45b6e3bfa709f5a397eba6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Slots - Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ekacare.mintlify.site/_mintlify/api/og/v2?division=Appointment+API\u0026amp;title=Get+Slots\u0026amp;description=Bookable+slots+for+a+doctor+or+a+clinic%2C+one+entry+per+schedule+per+clinic.\u0026amp;theme=ebd9a500ade8f2a489d311f1\u0026amp;signature=5ffc76d2b79778a687b42d782fde30eabac543d7af45b6e3bfa709f5a397eba6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5B45C9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-sdk/emr/appointment-api/get-slots.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.eka.care/#organization\",\"name\":\"Eka Developer Platform APIs\",\"url\":\"https://developer.eka.care\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.eka.care/vagus/clzwrv3o600260ti3bg9q1det.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.eka.care#website\",\"name\":\"Eka Developer Platform APIs\",\"url\":\"https://developer.eka.care\",\"publisher\":{\"@id\":\"https://developer.eka.care/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots#webpage\",\"url\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots\",\"name\":\"Get Slots\",\"description\":\"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.\",\"dateModified\":\"2026-11-13T15:56:59.185Z\",\"isPartOf\":{\"@id\":\"https://developer.eka.care#website\"},\"breadcrumb\":{\"@id\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Eka EMR API\",\"item\":\"https://developer.eka.care/api-sdk/emr/instructions/before-you-begin\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Slots\",\"item\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots#apireference\",\"headline\":\"Get Slots\",\"name\":\"Get Slots\",\"description\":\"Bookable slots for a doctor or a clinic, one entry per schedule per clinic.\",\"url\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots\",\"mainEntityOfPage\":{\"@id\":\"https://developer.eka.care/api-sdk/emr/appointment-api/get-slots#webpage\"},\"dateModified\":\"2026-11-13T15:56:59.185Z\",\"publisher\":{\"@id\":\"https://developer.eka.care/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.eka.care#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eka Developer Platform APIs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Eka Developer Platform APIs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-sdk/emr/appointment-api/get-slots.md","siteName":"Eka Developer Platform APIs","nav":{"global":null,"products":[{"product":"Clinical AI","icon":"sparkles","description":"The medical scribe, document parsing and the clinical MCP server, to build your own tools.","menu":[{"item":"Medical Scribe","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/mic.svg","description":"Consultations become structured notes that complete the chart","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/scribe/overview"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/scribe/sessions/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/get-started/ekascribe-changelog"}]}]},{"item":"Medical Document Parsing","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/brain-circuit.svg","description":"Any medical record, in any format, becomes structured data","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/models/medical-document-parsing"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/models/medical-document-parsing/introduction"}]}]},{"item":"Clinical MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/stethoscope.svg","description":"Ground your agent in Indian drugs, treatment protocols, pharmacology and clinical calculators","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/datasets/build-with-ai/mcp-server/introduction"}]}]}],"pages":[{"title":"Clinical AI","href":"/docs/scribe/overview"}]},{"product":"ABDM Connect","icon":"hospital","description":"ABHA, consent and record exchange across India's health stack, plus insurance claims.","menu":[{"item":"HIE-CM","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/arrow-left-right.svg","description":"ABHA, care contexts, consent and records","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/hie-cm/about"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/hie-cm/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/hie-cm/changelog"}]}]},{"item":"NHCX","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/shield-check.svg","description":"Eligibility, pre-auth and insurance claims","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/nhcx/getting-started"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/nhcx/search-payers"}]}]},{"item":"UHI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/network.svg","description":"Blood bank search and consultations across the network","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/uhi/journeys/uhi-book-physical-consultation"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/uhi/blood-bank/state-district"}]}]}],"pages":[{"title":"ABDM Connect","href":"/docs/hie-cm/about"}]},{"product":"Platform","icon":"key","description":"Get started, sign-in, webhooks and encryption, shared by every product.","menu":[{"item":"Get started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/rocket.svg","description":"Overview, products and glossary","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/overview"}]}]},{"item":"Auth","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/key-round.svg","description":"Client credentials, OAuth2 and OIDC","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/auth/invite-flow"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/auth/getting-started"}]}]},{"item":"Webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/webhook.svg","description":"Register, receive and verify events","tabs":[{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/webhooks/getting-started"}]}]},{"item":"Encryption","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/lock.svg","description":"End-to-end encryption and IP allowlisting","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/encryption/guide"}]}]}],"pages":[{"title":"Platform","href":"/docs/get-started/overview"}]},{"product":"Build","icon":"hammer","description":"Eka EMR, worked examples, the Eka MCP server and Eka open source.","menu":[{"item":"Eka EMR","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/clipboard-list.svg","description":"Patients, appointments and prescriptions","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/emr/patients"}]},{"tab":"APIs \u0026 SDKs","pages":[{"group":"Eka EMR API","pages":[{"title":null,"href":"/api-sdk/emr/instructions/before-you-begin"},{"group":"Patient Directory APIs","icon":"hospital-user","expanded":true,"pages":[{"openapi":"post /dr/v1/patient","title":"Add Patient to Directory","href":"/api-sdk/emr/patient-registration-api/add-patient-to-directory"},{"openapi":"get /dr/v1/business/patients/search","title":"Search Patient profiles by mobile number","href":"/api-sdk/emr/patient-registration-api/search-patient-by-mobile"},{"openapi":"get /dr/v1/patient/{patient_id}","title":"Get patient details by profile id","href":"/api-sdk/emr/patient-registration-api/get-patient-details-by-id"},{"openapi":"patch /dr/v1/patient/{patient_id}","title":"Update Patient Details","href":"/api-sdk/emr/patient-registration-api/update-patient-details-api"},{"openapi":"post /profiles/v1/patient/","title":"Create a patient profile","href":"/api-sdk/emr/patient-directory-apis/add-patient"},{"openapi":"get /profiles/v1/patient/search","title":"Search patient profiles","href":"/api-sdk/emr/patient-directory-apis/search-patient"},{"openapi":"get /profiles/v1/patient/{oid}","title":"Retrieve patient profile","href":"/api-sdk/emr/patient-directory-apis/retrieve-patient-details"},{"openapi":"patch /profiles/v1/patient/{oid}","title":"Update patient profile details","href":"/api-sdk/emr/patient-directory-apis/update-patient-details"},{"openapi":"delete /profiles/v1/patient/{oid}","title":"Archive or permanently delete patient profile","href":"/api-sdk/emr/patient-directory-apis/delete-patient"},{"openapi":"get /profiles/v1/patient/minified/","title":"List patient profiles","href":"/api-sdk/emr/patient-directory-apis/patients-list-minified"},{"openapi":"get /profiles/v1/patient/by-mobile/","title":"Retrieve patient profiles by mobile number","href":"/api-sdk/emr/patient-directory-apis/retrieve-patients-by-mobile"},{"openapi":"get /profiles/v1/patient/{username}/username/?flatten=true","title":"Retrieve patient profile by username","href":"/api-sdk/emr/patient-directory-apis/retrieve-patient-by-username"},{"openapi":"get /profiles/v1/emr-user/{oid}","title":"Retrieve EMR user profile","href":"/api-sdk/emr/patient-directory-apis/retrieve-emr-user"},{"openapi":"patch /profiles/v1/emr-user/{oid}","title":"Update EMR user profile","href":"/api-sdk/emr/patient-directory-apis/update-emr-user"}]},{"group":"Doctor and clinic API","icon":"stethoscope","pages":[{"openapi":"get /dr/v1/business/entities","title":"Get Clinic and Doctor details","href":"/api-sdk/emr/doctor-and-clinic-api/get-clinic-and-doctor-details"},{"openapi":"get /dr/v1/doctor/{doctor_id}","title":"Get Doctor profile","href":"/api-sdk/emr/doctor-and-clinic-api/get-doctor-profile"},{"openapi":"get /dr/v1/business/clinic/{clinic_id}","title":"Get Clinic details","href":"/api-sdk/emr/doctor-and-clinic-api/get-clinic-details"},{"openapi":"get /dr/v1/doctor/service/{doctor_id}","title":"Get Doctor services","href":"/api-sdk/emr/doctor-and-clinic-api/get-doc-service"}]},{"group":"Config management APIs","icon":"user-cog","pages":[{"openapi":"get /cdr/v1/hipusers/","title":"Get All HIP Users of a Business","href":"/api-sdk/emr/user-apis/get-all-users"},{"openapi":"get /cdr/v1/hipusers/{hip_user_id}","title":"Get HIP User Details by ID","href":"/api-sdk/emr/user-apis/get-user-by-id"},{"openapi":"get /cdr/v1/get_business_info/","title":"Get Workspace Information","href":"/api-sdk/emr/business-api/get-business-info"},{"openapi":"post /cdr/v1/doctor/","title":"Create Doctor Profile","href":"/api-sdk/emr/onboarding-apis/onboard-doctor"},{"openapi":"get /cdr/v1/doctor/","title":"List Doctors","href":"/api-sdk/emr/onboarding-apis/list-doctors"},{"openapi":"get /cdr/v1/doctor/{doc_id}/","title":"Get Doctor by ID","href":"/api-sdk/emr/onboarding-apis/get-doctor"},{"openapi":"patch /cdr/v1/doctor/{doc_id}/","title":"Update Doctor","href":"/api-sdk/emr/onboarding-apis/update-doctor"},{"openapi":"delete /cdr/v1/doctor/{doc_id}/","title":"Delete Doctor","href":"/api-sdk/emr/onboarding-apis/delete-doctor"},{"openapi":"post /cdr/v1/clinic/","title":"Create Clinic","href":"/api-sdk/emr/onboarding-apis/onboard-clinic"},{"openapi":"get /cdr/v1/clinic/","title":"List Clinics","href":"/api-sdk/emr/onboarding-apis/list-clinics"},{"openapi":"get /cdr/v1/clinic/{clinic_id}/","title":"Get Clinic by ID","href":"/api-sdk/emr/onboarding-apis/get-clinic"},{"openapi":"patch /cdr/v1/clinic/{clinic_id}/","title":"Update Clinic","href":"/api-sdk/emr/onboarding-apis/update-clinic"},{"openapi":"delete /cdr/v1/clinic/{clinic_id}/","title":"Delete Clinic","href":"/api-sdk/emr/onboarding-apis/delete-clinic"},{"openapi":"post /cdr/v1/ekauser/","title":"Create Eka User","href":"/api-sdk/emr/onboarding-apis/onboard-ekauser"},{"openapi":"get /cdr/v1/ekauser/","title":"List Eka Users","href":"/api-sdk/emr/onboarding-apis/list-ekausers"},{"openapi":"get /cdr/v1/ekauser/{user_id}/","title":"Get Eka User by ID","href":"/api-sdk/emr/onboarding-apis/get-ekauser"},{"openapi":"patch /cdr/v1/ekauser/{user_id}/","title":"Update Eka User","href":"/api-sdk/emr/onboarding-apis/update-ekauser"},{"openapi":"delete /cdr/v1/ekauser/{user_id}/","title":"Delete Eka User","description":"### Overview\nSoft-delete an Eka User by Eka ID or partner-provided ID. Deleted users no longer appear in list or get responses.\n\n**Endpoint:** `{{HOST}}/cdr/v1/ekauser/{user_id}/`\n\n**Method:** `DELETE`\n\n### Path Parameters\n\n| Parameter | Type | Description | Required |\n| --------- | ------ | ---------------------------------------------------------- | -------- |\n| user_id | string | Eka User's Eka ID or partner-provided ID | Yes |","href":"/api-sdk/emr/onboarding-apis/delete-ekauser"}]},{"group":"Appointment API","icon":"calendar-check","pages":[{"title":"Get Slots","openapi":"get /dr/v1/slots","href":"/api-sdk/emr/appointment-api/get-slots"},{"title":"Get Appointment Slots (Legacy)","openapi":"get /dr/v1/doctor/{doctor_id}/clinic/{clinic_id}/appointment/slot","description":"Legacy, will be deprecated soon. Returns only the schedule patients book on. Use Get Slots (`GET /dr/v1/slots`) for new work.","href":"/api-sdk/emr/appointment-api/get-appointment-slots"},{"openapi":"post /dr/v1/appointment","title":"Book Appointment Slot","href":"/api-sdk/emr/appointment-api/book-appointment-slot"},{"openapi":"get /dr/v1/appointment/{appointment_id}","title":"Get Appointment Details","href":"/api-sdk/emr/appointment-api/get-appointment-details"},{"openapi":"patch /dr/v1/appointment/{appointment_id}","title":"Update Appointment","href":"/api-sdk/emr/appointment-api/update-appointment"},{"openapi":"patch /dr/v2/appointment/{appointment_id}","title":"Update Appointment V2","href":"/api-sdk/emr/appointment-api/update-appointment-v2"},{"openapi":"post /dr/v1/appointment/{appointment_id}/parked","title":"Parked Appointment","href":"/api-sdk/emr/appointment-api/parked-appointment"},{"openapi":"post /dr/v1/appointment/{appointment_id}/complete","title":"Complete Appointment","href":"/api-sdk/emr/appointment-api/complete-appointment"},{"openapi":"put /dr/v1/appointment/{appointment_id}/cancel","title":"Cancel Appointment","href":"/api-sdk/emr/appointment-api/cancel-appointment"},{"openapi":"get /dr/v1/appointment","title":"Get Appointments","href":"/api-sdk/emr/appointment-api/get-appointments-by-date"},{"openapi":"post /dr/v1/appointment/{appointment_id}/change-status","title":"No-Show Appointment","href":"/api-sdk/emr/appointment-api/change-status"},{"openapi":"put /dr/v1/appointment/{appointment_id}/follow-up/confirm","title":"Confirm Follow-Up Appointment","href":"/api-sdk/emr/appointment-api/confirm-follow-up-appointment"},{"openapi":"patch /appointments/v1/{appointment_id}/reschedule","title":"Reschedule Appointment","href":"/api-sdk/emr/appointment-api/reschedule-appointment"},{"openapi":"post /schedule","title":"Create Schedule","href":"/api-sdk/emr/appointment-api/create-schedule"},{"openapi":"patch /schedule/{scheduleId}","title":"Update Schedule","href":"/api-sdk/emr/appointment-api/update-schedule"},{"openapi":"delete /schedule/{scheduleId}","title":"Delete Schedule","href":"/api-sdk/emr/appointment-api/delete-schedule"},{"openapi":"get /schedule/resolved","title":"Get Resolved Schedule","href":"/api-sdk/emr/appointment-api/get-business-resolved-schedule"},{"openapi":"get /schedule/service-conf/{entityId}","title":"List Services","href":"/api-sdk/emr/appointment-api/get-service-conf-list"},{"openapi":"get /schedule/service-conf/{entityId}/{conf_id}","title":"Get Service","href":"/api-sdk/emr/appointment-api/get-service-conf-details"}]},{"openapi":"get /dr/v1/prescription/{prescription_id}","title":"Get Prescription details","href":"/api-sdk/emr/prescription-api/get-prescription-details"},{"openapi":"post /notification/v1/notify","title":"Send Notification","href":"/api-sdk/emr/notify/notify"},{"group":"Webhooks","icon":"webhook","pages":[{"openapi":"post /registered_url_for_add_appointment_events","title":"Create appointment","href":"/api-sdk/emr/post_webhooks/add-appointment-webhook"},{"openapi":"post /registered_url_for_update_appointment_events","title":"Update appointment","href":"/api-sdk/emr/post_webhooks/update-appointment-webhook"},{"openapi":"post /registered_url_for_assessment_taken_events","title":"Assessment Taken","href":"/api-sdk/emr/post_webhooks/assessment-taken-webhook"},{"openapi":"post /registered_url_for_status_change_events","title":"Status changed","href":"/api-sdk/emr/post_webhooks/status-change-webhook"},{"openapi":"post /registered_url_for_appointment_tele_dr_joined_webhook_events","title":"Doctor Joined Video Call","href":"/api-sdk/emr/post_webhooks/appointment-tele-dr-joined-webhook"},{"openapi":"post /registered_url_for_appointment_reminder_instant_webhook_events","title":"Appointment Reminder (Instant)","href":"/api-sdk/emr/post_webhooks/appointment-reminder-instant-webhook"},{"openapi":"post /registered_url_for_appointment_followup_reminder_instant_webhook_events","title":"Follow-up Appointment Reminder (Instant)","href":"/api-sdk/emr/post_webhooks/appointment-followup-reminder-instant-webhook"},{"openapi":"post /registered_url_for_vaccination_reminder_webhook_events","title":"Vaccination Reminder","href":"/api-sdk/emr/post_webhooks/vaccination-reminder-webhook"},{"openapi":"post /registered_url_for_prescription_events","title":"Prescription Created Event","href":"/api-sdk/emr/post_webhooks/prescription-webhook"},{"openapi":"post /registered_url_for_prescription_communication_events","title":"Prescription Communication Event","href":"/api-sdk/emr/post_webhooks/prescription-communication-webhook"},{"openapi":"post /registered_url_for_doctor_events","title":"Doctor Events","href":"/api-sdk/emr/post_webhooks/doctor-webhook"},{"openapi":"post /registered_url_for_google_review_events","title":"Google Review Automatic Event","href":"/api-sdk/emr/post_webhooks/google-review-webhook"},{"openapi":"post /registered_url_for_google_review_manual_events","title":"Google Review Manual Event","href":"/api-sdk/emr/post_webhooks/google-review-manual-webhook"},{"openapi":"post /registered_url_for_consent_form","title":"Consent Form Events","href":"/api-sdk/emr/post_webhooks/mcert-webhook"},{"openapi":"post /registered_url_for_receipt_events","title":"Receipt Events","href":"/api-sdk/emr/post_webhooks/receipt-webhook"},{"openapi":"post /registered_url_for_receipt_payment_requested_events","title":"Payment Link Requested","href":"/api-sdk/emr/post_webhooks/payment-link-webhook"},{"openapi":"post /registered_url_for_ipd_admissions_events","title":"IPD Admission","href":"/api-sdk/emr/post_webhooks/ipd-admissions"},{"openapi":"post /registered_url_for_ipd_admissions_events_events","title":"IPD Admission Event","href":"/api-sdk/emr/post_webhooks/ipd-admissions-events"},{"openapi":"post /registered_url_for_ipd_admissions_clearances_events","title":"IPD Admission Clearance","href":"/api-sdk/emr/post_webhooks/ipd-admissions-clearances"},{"openapi":"post /registered_url_for_ipd_admissions_estimates_events","title":"IPD Admission Estimate","href":"/api-sdk/emr/post_webhooks/ipd-admissions-estimates"}]},{"group":"SDKs","icon":"box-open","pages":[{"icon":"box-open","title":"Trinity Profiles SDK (TypeScript)","href":"/api-sdk/emr/sdks/patient-directory-sdks/patient-directory-ts-sdk"},{"icon":"rocket","title":"Eka Care TS SDK","href":"/api-sdk/sdks/sdks/web-sdk/getting-started"},{"icon":"box-open","title":"Python SDK: ekacare","href":"/api-sdk/sdks/sdks/backend/ekapython-sdk"}]}]},{"group":"IPD","icon":"/images/icons/products/bed-double.svg","pages":[{"group":"Configuration","expanded":true,"pages":[{"group":"Setup data","pages":[{"openapi":"get /ipd/service/ipd","title":"Get IPD Setup Data","href":"/api-sdk/ipd/configuration/setup/get-ipd-setup-data"}]},{"group":"Categories","pages":[{"openapi":"post /ipd/service/categories","title":"Create Category","href":"/api-sdk/ipd/configuration/categories/create-category"},{"openapi":"post /ipd/service/categories/{category_id}","title":"Update Category","href":"/api-sdk/ipd/configuration/categories/update-category"},{"openapi":"delete /ipd/service/categories/{category_id}","title":"Delete Category","href":"/api-sdk/ipd/configuration/categories/delete-category"}]},{"group":"Rooms","pages":[{"openapi":"post /ipd/service/rooms","title":"Create Room","href":"/api-sdk/ipd/configuration/rooms/create-room"},{"openapi":"post /ipd/service/rooms/{room_id}","title":"Update Room","href":"/api-sdk/ipd/configuration/rooms/update-room"},{"openapi":"delete /ipd/service/rooms/{room_id}","title":"Delete Room","href":"/api-sdk/ipd/configuration/rooms/delete-room"}]},{"group":"Beds","pages":[{"openapi":"post /ipd/service/beds","title":"Create Bed","href":"/api-sdk/ipd/configuration/beds/create-bed"},{"openapi":"post /ipd/service/beds/{bed_id}","title":"Update Bed","href":"/api-sdk/ipd/configuration/beds/update-bed"},{"openapi":"delete /ipd/service/beds/{bed_id}","title":"Delete Bed","href":"/api-sdk/ipd/configuration/beds/delete-bed"},{"openapi":"post /ipd/service/bed-clinic-relations","title":"Link Bed to Clinic","href":"/api-sdk/ipd/configuration/beds/link-bed-to-clinic"},{"openapi":"delete /ipd/service/bed-clinic-relations","title":"Unlink Bed from Clinic","href":"/api-sdk/ipd/configuration/beds/unlink-bed-from-clinic"}]},{"group":"Rate plans","pages":[{"openapi":"post /ipd/service/rateplans","title":"Create Rate Plan","href":"/api-sdk/ipd/configuration/rate-plans/create-rate-plan"},{"openapi":"post /ipd/service/rateplans/{rate_plan_id}","title":"Update Rate Plan","href":"/api-sdk/ipd/configuration/rate-plans/update-rate-plan"},{"openapi":"delete /ipd/service/rateplans/{rate_plan_id}","title":"Delete Rate Plan","href":"/api-sdk/ipd/configuration/rate-plans/delete-rate-plan"},{"openapi":"post /ipd/service/rateplans/inclusions","title":"Create Rate Plan Inclusion","href":"/api-sdk/ipd/configuration/rate-plans/create-rate-plan-inclusion"},{"openapi":"post /ipd/service/rateplans/inclusions/{inclusion_id}","title":"Update Rate Plan Inclusion","href":"/api-sdk/ipd/configuration/rate-plans/update-rate-plan-inclusion"},{"openapi":"delete /ipd/service/rateplans/inclusions/{inclusion_id}","title":"Delete Rate Plan Inclusion","href":"/api-sdk/ipd/configuration/rate-plans/delete-rate-plan-inclusion"},{"openapi":"post /ipd/service/rate-plan-clinic-relations","title":"Link Rate Plan to Clinic","href":"/api-sdk/ipd/configuration/rate-plans/link-rate-plan-to-clinic"},{"openapi":"delete /ipd/service/rate-plan-clinic-relations","title":"Unlink Rate Plan from Clinic","href":"/api-sdk/ipd/configuration/rate-plans/unlink-rate-plan-from-clinic"}]},{"group":"IPID settings","pages":[{"openapi":"post /ipd/service/admissions/generate-ipid","title":"Generate IPID","href":"/api-sdk/ipd/configuration/ipid/generate-ipid"},{"openapi":"get /ipd/service/admissions/generate-ipid","title":"Generate IPID (GET)","href":"/api-sdk/ipd/configuration/ipid/generate-ipid-get"},{"openapi":"get /ipd/service/admissions/ipid-config","title":"Get IPID Config","href":"/api-sdk/ipd/configuration/ipid/get-ipid-config"},{"openapi":"post /ipd/service/admissions/ipid-config","title":"Update IPID Config","href":"/api-sdk/ipd/configuration/ipid/update-ipid-config"}]}]},{"group":"Admissions","pages":[{"group":"Admissions","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions","title":"List IPD admissions","href":"/api-sdk/ipd/admissions/admissions/list-ipd-admissions"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions","title":"Create an IPD admission","href":"/api-sdk/ipd/admissions/admissions/create-an-ipd-admission"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}","title":"Get an IPD admission by id","href":"/api-sdk/ipd/admissions/admissions/get-an-ipd-admission-by-id"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json patch /ipd/sdk/admissions/{admission_id}","title":"Update an IPD admission","href":"/api-sdk/ipd/admissions/admissions/update-an-ipd-admission"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/can-admit","title":"Check whether a patient can be admitted","href":"/api-sdk/ipd/admissions/admissions/check-whether-a-patient-can-be-admitted"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/ipid-in-use","title":"Check whether an IPD case number is in use","href":"/api-sdk/ipd/admissions/admissions/check-whether-an-ipd-case-number-is-in-use"},{"openapi":"get /ipd/service/admissions/{admission_id}","title":"Get Admission","href":"/api-sdk/ipd/admissions/admissions/get-admission"}]},{"group":"Visits \u0026 advices","pages":[{"openapi":"get /ipd/service/admissions/{admission_id}/visits","title":"Get Admission with Visits","href":"/api-sdk/ipd/admissions/visits/get-admission-visits"},{"openapi":"get /ipd/service/admissions/advices/{patient_id}","title":"List Admission Advices for Patient","href":"/api-sdk/ipd/admissions/visits/list-admission-advices"}]},{"group":"Estimates","pages":[{"openapi":"get /ipd/service/admissions/{admission_id}/estimate","title":"Get Admission Estimate","href":"/api-sdk/ipd/admissions/estimates/get-admission-estimate"},{"openapi":"post /ipd/service/admissions/{admission_id}/fs-estimates","title":"Save Admission Estimates","href":"/api-sdk/ipd/admissions/estimates/save-admission-estimates"}]},{"group":"Audit events","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events","title":"List an admission's events","href":"/api-sdk/ipd/admissions/events/list-an-admission-s-events"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/events","title":"Record an admission event","href":"/api-sdk/ipd/admissions/events/record-an-admission-event"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json delete /ipd/sdk/admissions/{admission_id}/events/{event_id}","title":"Delete an admission event","href":"/api-sdk/ipd/admissions/events/delete-an-admission-event"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events/latest","title":"Get the latest event of a kind","href":"/api-sdk/ipd/admissions/events/get-the-latest-event-of-a-kind"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events/discharge-initiation","title":"Get the discharge initiation event","href":"/api-sdk/ipd/admissions/events/get-the-discharge-initiation-event"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events/discharge-disposition","title":"Get the discharge disposition event","href":"/api-sdk/ipd/admissions/events/get-the-discharge-disposition-event"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events/discharge-clearance","title":"Get the discharge clearance-exit event","href":"/api-sdk/ipd/admissions/events/get-the-discharge-clearance-exit-event"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events/discharge-summary","title":"Get the discharge summary submitted event","href":"/api-sdk/ipd/admissions/events/get-the-discharge-summary-submitted-event"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/events/latest-clearance-meta","title":"Get the latest completion per clearance","href":"/api-sdk/ipd/admissions/events/get-the-latest-completion-per-clearance"}]}]},{"group":"Clinical","pages":[{"group":"Nursing notes","pages":[{"openapi":"post /ipd/service/nursing-notes","title":"Create Nursing Note","href":"/api-sdk/ipd/clinical/nursing-notes/create-nursing-note"},{"openapi":"get /ipd/service/nursing-notes/admission/{admission_id}","title":"List Nursing Notes for Admission","href":"/api-sdk/ipd/clinical/nursing-notes/list-nursing-notes"},{"openapi":"patch /ipd/service/nursing-notes/{note_id}","title":"Update Nursing Note","href":"/api-sdk/ipd/clinical/nursing-notes/update-nursing-note"},{"openapi":"post /ipd/service/nursing-notes-templates","title":"Create Nursing Note Template","href":"/api-sdk/ipd/clinical/nursing-notes/create-nursing-note-template"},{"openapi":"get /ipd/service/nursing-notes-templates","title":"List Nursing Note Templates","href":"/api-sdk/ipd/clinical/nursing-notes/list-nursing-note-templates"},{"openapi":"patch /ipd/service/nursing-notes-templates/{template_id}","title":"Update Nursing Note Template","href":"/api-sdk/ipd/clinical/nursing-notes/update-nursing-note-template"}]}]},{"group":"Discharge","pages":[{"group":"Initiate \u0026 clearances","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/discharge/initiate","title":"Initiate a discharge","href":"/api-sdk/ipd/discharge/clearances/initiate-a-discharge"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/clearances","title":"List an admission's discharge clearances","href":"/api-sdk/ipd/discharge/clearances/list-an-admission-s-discharge-clearances"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/clearances/{type}/complete","title":"Complete a discharge clearance","href":"/api-sdk/ipd/discharge/clearances/complete-a-discharge-clearance"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/clearances/{type}/reopen","title":"Reopen a discharge clearance","href":"/api-sdk/ipd/discharge/clearances/reopen-a-discharge-clearance"}]},{"group":"Release rules","pages":[{"openapi":"get /ipd/service/admissions/discharge-release-rules","title":"Get Discharge Release Rules","href":"/api-sdk/ipd/discharge/release-rules/get-discharge-release-rules"},{"openapi":"put /ipd/service/admissions/discharge-release-rules","title":"Update Discharge Release Rules","href":"/api-sdk/ipd/discharge/release-rules/update-discharge-release-rules"}]},{"group":"Discharge summaries","pages":[{"openapi":"post /ipd/service/discharge-summaries","title":"Create Discharge Summary","href":"/api-sdk/ipd/discharge/summaries/create-discharge-summary"},{"openapi":"get /ipd/service/discharge-summaries/admission/{admission_id}","title":"List Discharge Summaries for Admission","href":"/api-sdk/ipd/discharge/summaries/list-discharge-summaries"},{"openapi":"patch /ipd/service/discharge-summaries/{summary_id}","title":"Update Discharge Summary","href":"/api-sdk/ipd/discharge/summaries/update-discharge-summary"},{"openapi":"get /ipd/service/admissions/generate-discharge-summary/{admission_id}","title":"Generate Discharge Summary","href":"/api-sdk/ipd/discharge/summaries/generate-discharge-summary"}]}]},{"group":"Billing","pages":[{"group":"Account","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/billing/price-lists","title":"List billing price lists","href":"/api-sdk/ipd/billing/account/list-billing-price-lists"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/account","title":"Open the admission's billing account","href":"/api-sdk/ipd/billing/account/open-the-admission-s-billing-account"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json put /ipd/sdk/admissions/{admission_id}/billing/price-list","title":"Change the account's price list","href":"/api-sdk/ipd/billing/account/change-the-account-s-price-list"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/summary","title":"Get the billing summary","href":"/api-sdk/ipd/billing/account/get-the-billing-summary"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/state","title":"Get the full billing state","href":"/api-sdk/ipd/billing/account/get-the-full-billing-state"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/settle","title":"Settle the billing account","href":"/api-sdk/ipd/billing/account/settle-the-billing-account"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/close","title":"Close the billing account","href":"/api-sdk/ipd/billing/account/close-the-billing-account"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/reopen","title":"Reopen the billing account","href":"/api-sdk/ipd/billing/account/reopen-the-billing-account"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/suspend","title":"Put the billing account on hold","href":"/api-sdk/ipd/billing/account/put-the-billing-account-on-hold"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/resume","title":"Lift the billing account's hold","href":"/api-sdk/ipd/billing/account/lift-the-billing-account-s-hold"}]},{"group":"Charges","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/charges","title":"List charges","href":"/api-sdk/ipd/billing/charges/list-charges"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/charges","title":"Add charges","href":"/api-sdk/ipd/billing/charges/add-charges"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json patch /ipd/sdk/admissions/{admission_id}/billing/charges/{charge_id}","title":"Update a charge","href":"/api-sdk/ipd/billing/charges/update-a-charge"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/charges/{charge_id}/void","title":"Void a charge","href":"/api-sdk/ipd/billing/charges/void-a-charge"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/draft/quote","title":"Price draft charges","href":"/api-sdk/ipd/billing/charges/price-draft-charges"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/draft/submit","title":"Save draft charges","href":"/api-sdk/ipd/billing/charges/save-draft-charges"}]},{"group":"Payments","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/payments","title":"List payments","href":"/api-sdk/ipd/billing/payments/list-payments"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/payments","title":"Record a payment","href":"/api-sdk/ipd/billing/payments/record-a-payment"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/payments/{payment_id}/void","title":"Void a payment","href":"/api-sdk/ipd/billing/payments/void-a-payment"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/payments/{payment_id}/allocate","title":"Apply a payment to an invoice","href":"/api-sdk/ipd/billing/payments/apply-a-payment-to-an-invoice"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/invoices/{invoice_id}/pay","title":"Pay an invoice","href":"/api-sdk/ipd/billing/payments/pay-an-invoice"}]},{"group":"Invoices","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/invoices","title":"List invoices","href":"/api-sdk/ipd/billing/invoices/list-invoices"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/invoices","title":"Create an invoice","href":"/api-sdk/ipd/billing/invoices/create-an-invoice"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/invoices/{invoice_id}/void","title":"Void an invoice","href":"/api-sdk/ipd/billing/invoices/void-an-invoice"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/invoices/{invoice_id}/cancel","title":"Cancel an issued invoice","href":"/api-sdk/ipd/billing/invoices/cancel-an-issued-invoice"}]},{"group":"Deposits","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/deposits","title":"List deposits","href":"/api-sdk/ipd/billing/deposits/list-deposits"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/deposits","title":"Collect a deposit","href":"/api-sdk/ipd/billing/deposits/collect-a-deposit"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/deposits/{deposit_id}/allocate","title":"Apply a deposit to an invoice","href":"/api-sdk/ipd/billing/deposits/apply-a-deposit-to-an-invoice"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/deposits/{deposit_id}/refund","title":"Refund a deposit","href":"/api-sdk/ipd/billing/deposits/refund-a-deposit"}]},{"group":"Room meters","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/room-meters","title":"List room meters","href":"/api-sdk/ipd/billing/room-meters/list-room-meters"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meter/sync","title":"Sync the room meter","href":"/api-sdk/ipd/billing/room-meters/sync-the-room-meter"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/sync","title":"Sync room meters","href":"/api-sdk/ipd/billing/room-meters/sync-room-meters"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/{meter_id}/pause","title":"Pause a room meter","href":"/api-sdk/ipd/billing/room-meters/pause-a-room-meter"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/{meter_id}/resume","title":"Resume a room meter","href":"/api-sdk/ipd/billing/room-meters/resume-a-room-meter"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/{meter_id}/slice","title":"Bill part of a room meter","href":"/api-sdk/ipd/billing/room-meters/bill-part-of-a-room-meter"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/pause","title":"Pause all room meters","href":"/api-sdk/ipd/billing/room-meters/pause-all-room-meters"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/resume","title":"Resume all room meters","href":"/api-sdk/ipd/billing/room-meters/resume-all-room-meters"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/stop","title":"Stop the room meter","href":"/api-sdk/ipd/billing/room-meters/stop-the-room-meter"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/billing/room-meters/stop-and-bill","title":"Stop and bill room meters","href":"/api-sdk/ipd/billing/room-meters/stop-and-bill-room-meters"}]},{"group":"Returns \u0026 links","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/returns","title":"List returns","href":"/api-sdk/ipd/billing/returns-links/list-returns"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/adjustment-notes","title":"List credit and debit notes","href":"/api-sdk/ipd/billing/returns-links/list-credit-and-debit-notes"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/order-charge-links","title":"List pharmacy order charge links","href":"/api-sdk/ipd/billing/returns-links/list-pharmacy-order-charge-links"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/billing/order-return-links","title":"List pharmacy return links","href":"/api-sdk/ipd/billing/returns-links/list-pharmacy-return-links"}]}]},{"group":"Pharmacy","pages":[{"group":"Pharmacies","pages":[{"openapi":"get /ipd/service/pharmacies","title":"List Pharmacies","href":"/api-sdk/ipd/pharmacy/pharmacies/list-pharmacies"},{"openapi":"post /ipd/service/pharmacies/inventory-status","title":"Get Inventory Status","href":"/api-sdk/ipd/pharmacy/pharmacies/get-inventory-status"}]},{"group":"Orders","pages":[{"openapi":"post /ipd/service/orders","title":"Create Order","href":"/api-sdk/ipd/pharmacy/orders/create-order"},{"openapi":"get /ipd/service/orders","title":"List Orders","href":"/api-sdk/ipd/pharmacy/orders/list-orders"},{"openapi":"get /ipd/service/orders/{order_id}","title":"Get Order","href":"/api-sdk/ipd/pharmacy/orders/get-order"},{"openapi":"patch /ipd/service/orders/{order_id}","title":"Mark Order Collected","href":"/api-sdk/ipd/pharmacy/orders/mark-order-collected"},{"openapi":"patch /ipd/service/orders/{order_id}/status","title":"Update Order Status","href":"/api-sdk/ipd/pharmacy/orders/update-order-status"}]},{"group":"Billing settings","pages":[{"openapi":"get /ipd/service/pharmacies/billing-config/evital","title":"Get eVital Billing Config","href":"/api-sdk/ipd/pharmacy/billing-settings/get-evital-billing-config"},{"openapi":"put /ipd/service/pharmacies/billing-config","title":"Update Pharmacy Billing Config","href":"/api-sdk/ipd/pharmacy/billing-settings/update-pharmacy-billing-config"}]},{"group":"Discharge clearance","pages":[{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/sdk/admissions/{admission_id}/pharmacy-clearance-notify","title":"Get the pharmacy discharge-notification state","href":"/api-sdk/ipd/pharmacy/clearance/get-the-pharmacy-discharge-notification-state"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/pharmacy-clearance-notify","title":"Notify the admission's pharmacies of a discharge","href":"/api-sdk/ipd/pharmacy/clearance/notify-the-admission-s-pharmacies-of-a-discharge"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/pharmacy-clearance-notify/retry","title":"Resend to the pharmacies that failed","href":"/api-sdk/ipd/pharmacy/clearance/resend-to-the-pharmacies-that-failed"},{"openapi":"api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json post /ipd/sdk/admissions/{admission_id}/pharmacy-clearance-notify/cancel","title":"Withdraw a discharge notification","href":"/api-sdk/ipd/pharmacy/clearance/withdraw-a-discharge-notification"},{"openapi":"post /ipd/service/pharmacies/clearance-clear","title":"Mark Pharmacy Clearance Cleared","href":"/api-sdk/ipd/pharmacy/clearance/mark-pharmacy-clearance-cleared"}]},{"group":"In-house pharmacy (Dawakhana)","pages":[{"group":"Settings","pages":[{"openapi":"get /ipd/service/dawakhana/config","title":"Get Dawakhana Config","href":"/api-sdk/ipd/pharmacy/dawakhana/settings/get-dawakhana-config"},{"openapi":"put /ipd/service/dawakhana/config","title":"Update Dawakhana Config","href":"/api-sdk/ipd/pharmacy/dawakhana/settings/update-dawakhana-config"}]},{"group":"Orders","pages":[{"openapi":"get /ipd/service/dawakhana/orders","title":"List Dawakhana Orders","href":"/api-sdk/ipd/pharmacy/dawakhana/orders/list-dawakhana-orders"},{"openapi":"get /ipd/service/dawakhana/orders/count","title":"Count Dawakhana Orders","href":"/api-sdk/ipd/pharmacy/dawakhana/orders/count-dawakhana-orders"},{"openapi":"get /ipd/service/dawakhana/orders/{order_id}","title":"Get Dawakhana Order","href":"/api-sdk/ipd/pharmacy/dawakhana/orders/get-dawakhana-order"},{"openapi":"post /ipd/service/dawakhana/orders/{order_id}/dispatch","title":"Dispatch Dawakhana Order","href":"/api-sdk/ipd/pharmacy/dawakhana/orders/dispatch-dawakhana-order"},{"openapi":"post /ipd/service/dawakhana/orders/{order_id}/cancel","title":"Cancel Dawakhana Order","href":"/api-sdk/ipd/pharmacy/dawakhana/orders/cancel-dawakhana-order"}]},{"group":"Returns","pages":[{"openapi":"post /ipd/service/dawakhana/orders/{order_id}/return","title":"Return Dawakhana Order","href":"/api-sdk/ipd/pharmacy/dawakhana/returns/return-dawakhana-order"},{"openapi":"post /ipd/service/dawakhana/orders/returns","title":"Create Dawakhana Standalone Return","href":"/api-sdk/ipd/pharmacy/dawakhana/returns/create-dawakhana-return"}]},{"group":"Discharge worklist","pages":[{"openapi":"get /ipd/service/dawakhana/orders/clearances","title":"List Dawakhana Pending Clearances","href":"/api-sdk/ipd/pharmacy/dawakhana/worklist/list-dawakhana-clearances"}]}]}]},{"group":"Workflows","pages":[{"group":"Tasks","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/tasks","title":"List tasks","href":"/api-sdk/ipd/workflows/tasks/list-tasks"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/tasks","title":"Create a task","href":"/api-sdk/ipd/workflows/tasks/create-a-task"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/tasks/{id}","title":"Get a task","href":"/api-sdk/ipd/workflows/tasks/get-a-task"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/tasks/{id}","title":"Act on a task","href":"/api-sdk/ipd/workflows/tasks/act-on-a-task"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/tasks/{id}/timeline","title":"Get a task's timeline","href":"/api-sdk/ipd/workflows/tasks/get-a-tasks-timeline"}]},{"group":"Forms","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/forms","title":"List an entity's forms","href":"/api-sdk/ipd/workflows/forms/list-an-entitys-forms"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/forms","title":"Add a form","href":"/api-sdk/ipd/workflows/forms/add-a-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/forms/{id}/timeline","title":"Get a form's timeline","href":"/api-sdk/ipd/workflows/forms/get-a-forms-timeline"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/forms/{id}/complete","title":"Complete a form","href":"/api-sdk/ipd/workflows/forms/complete-a-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/forms/{id}/cancel","title":"Cancel a form","href":"/api-sdk/ipd/workflows/forms/cancel-a-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/forms/{id}/decline","title":"Decline a form","href":"/api-sdk/ipd/workflows/forms/decline-a-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/forms/{id}/events","title":"Record a form event","href":"/api-sdk/ipd/workflows/forms/record-a-form-event"}]},{"group":"Rules \u0026 catalog","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/rules","title":"List rules","href":"/api-sdk/ipd/workflows/rules/list-rules"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/rules","title":"Create a rule","href":"/api-sdk/ipd/workflows/rules/create-a-rule"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/rules/active","title":"List an event's active rules","href":"/api-sdk/ipd/workflows/rules/list-an-events-active-rules"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/rules/compile","title":"Compile a rule","href":"/api-sdk/ipd/workflows/rules/compile-a-rule"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/rules/{id}","title":"Get a rule","href":"/api-sdk/ipd/workflows/rules/get-a-rule"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json put /protocol/workflow/rules/{id}","title":"Update a rule","href":"/api-sdk/ipd/workflows/rules/update-a-rule"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/rules/{id}/versions","title":"List a rule's versions","href":"/api-sdk/ipd/workflows/rules/list-a-rules-versions"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/rules/{id}/versions/{version}/restore","title":"Restore a rule version","href":"/api-sdk/ipd/workflows/rules/restore-a-rule-version"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/default-events","title":"Get the catalog","href":"/api-sdk/ipd/workflows/rules/get-the-catalog"}]},{"group":"Events","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/events","title":"Fire an event","href":"/api-sdk/ipd/workflows/events/fire-an-event"}]},{"group":"SA forms","pages":[{"group":"Forms","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms","title":"List SA forms","href":"/api-sdk/ipd/workflows/sa-forms/forms/list-sa-forms"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms","title":"Create an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/create-an-sa-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/{id}","title":"Get an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/get-an-sa-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json put /protocol/workflow/sa-forms/{id}","title":"Update an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/update-an-sa-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/{id}/view","title":"View an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/view-an-sa-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/{id}/versions","title":"List an SA form's versions","href":"/api-sdk/ipd/workflows/sa-forms/forms/list-an-sa-forms-versions"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/{id}/versions/{version}/restore","title":"Restore an SA form version","href":"/api-sdk/ipd/workflows/sa-forms/forms/restore-an-sa-form-version"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/{id}/rename","title":"Rename an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/rename-an-sa-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/{id}/archive","title":"Archive an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/archive-an-sa-form"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/{id}/unarchive","title":"Unarchive an SA form","href":"/api-sdk/ipd/workflows/sa-forms/forms/unarchive-an-sa-form"}]},{"group":"Drafts","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/drafts","title":"List SA form drafts","href":"/api-sdk/ipd/workflows/sa-forms/drafts/list-sa-form-drafts"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/drafts","title":"Create an SA form draft","href":"/api-sdk/ipd/workflows/sa-forms/drafts/create-an-sa-form-draft"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/drafts/{id}","title":"Get an SA form draft","href":"/api-sdk/ipd/workflows/sa-forms/drafts/get-an-sa-form-draft"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json put /protocol/workflow/sa-forms/drafts/{id}","title":"Update an SA form draft","href":"/api-sdk/ipd/workflows/sa-forms/drafts/update-an-sa-form-draft"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json delete /protocol/workflow/sa-forms/drafts/{id}","title":"Delete an SA form draft","href":"/api-sdk/ipd/workflows/sa-forms/drafts/delete-an-sa-form-draft"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/drafts/{id}/publish","title":"Publish an SA form draft","href":"/api-sdk/ipd/workflows/sa-forms/drafts/publish-an-sa-form-draft"}]},{"group":"AI drafts","pages":[{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/ai-draft","title":"Check AI drafting","href":"/api-sdk/ipd/workflows/sa-forms/ai-drafts/check-ai-drafting"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json post /protocol/workflow/sa-forms/ai-draft","title":"Start an AI draft","href":"/api-sdk/ipd/workflows/sa-forms/ai-drafts/start-an-ai-draft"},{"openapi":"api-reference/doc-tool/ipd-api/protocol-openapi.json get /protocol/workflow/sa-forms/ai-draft/{jobId}","title":"Get an AI draft","href":"/api-sdk/ipd/workflows/sa-forms/ai-drafts/get-an-ai-draft"}]}]}]}]},{"group":"Billing","icon":"/images/icons/products/receipt.svg","pages":[{"openapi":"get /dr/v1/payment/transaction_status/{transaction_id}","title":"Get Transaction Status","href":"/api-sdk/billing/get-transaction-status"}]},{"group":"Health Records","icon":"/images/icons/products/folder-heart.svg","pages":[{"icon":"compass","title":"Overview","sidebarTitle":"Records API","href":"/api-sdk/health-records/create-overview"},{"group":"Medical Records","icon":"book-open-cover","expanded":true,"pages":[{"openapi":"post /mr/api/v1/docs","title":"Step 1: Upload Record","href":"/api-sdk/health-records/obtain-authorization"},{"openapi":"get /mr/api/v1/docs/{id}","title":"Describes a document","href":"/api-sdk/health-records/describe-record"},{"openapi":"get /mr/api/v1/docs","title":"List Documents","href":"/api-sdk/health-records/list-records"},{"openapi":"get /health/api/v1/fhir/retrieve","title":"Retrieve health records","href":"/api-sdk/health-records/retrieve-health-records"},{"openapi":"get /mr/api/v1/docs/refresh","title":"Sends a refresh event to the origin","href":"/api-sdk/health-records/send-refresh"},{"openapi":"patch /mr/api/v1/docs/{id}","title":"Update Document","href":"/api-sdk/health-records/update-document"},{"openapi":"delete /mr/api/v1/docs/{id}","title":"Delete a document","href":"/api-sdk/health-records/delete-document"},{"openapi":"post /mr/api/v1/cases","title":"Create Case","href":"/api-sdk/health-records/create-case"},{"openapi":"patch /mr/api/v1/cases/{id}","title":"Update Case","href":"/api-sdk/health-records/update-case"},{"openapi":"get /mr/api/v1/cases","title":"List Cases","href":"/api-sdk/health-records/list-case"},{"openapi":"delete /mr/api/v1/cases/{id}","title":"Delete Case","href":"/api-sdk/health-records/delete-case"}]},{"group":"User App","icon":"mobile","pages":[{"openapi":"post /notification/add-device","title":"Add Device","href":"/api-sdk/health-records/notifications/add-device"},{"openapi":"delete /notification/delete-device","title":"Delete Device","href":"/api-sdk/health-records/notifications/delete-device"},{"openapi":"post /notification/fcm-creds","title":"Add FCM Credentials","href":"/api-sdk/health-records/notifications/fcm-creds"},{"openapi":"patch /trackers/api/v1/vitals/{txn_id}","title":"Update Patient Vitals and Link to ABHA","href":"/api-sdk/health-records/vitals/vitals"},{"openapi":"post /webhook/event","title":null,"href":"/api-sdk/health-records/webhook/right-to-access"},{"openapi":"post /privacy/v1/user-data","title":"Request User Data","href":"/api-sdk/health-records/privacy/right-to-access"}]},{"group":"SDKs","icon":"box-open","pages":[{"title":null,"href":"/api-sdk/health-records/sdks/ios-sdk"},{"icon":"rocket","title":"Get Started","sidebarTitle":"Records web SDK","href":"/api-sdk/health-records/sdks/web-sdk/mr-sdk/get-started"},{"icon":"file-medical","title":"Records","href":"/api-sdk/health-records/sdks/web-sdk/mr-sdk/records"},{"icon":"file-lines","title":"Cases","href":"/api-sdk/health-records/sdks/web-sdk/mr-sdk/cases"},{"icon":"file-lines","title":"Offline \u0026 Sync","href":"/api-sdk/health-records/sdks/web-sdk/mr-sdk/offline-and-sync"},{"title":null,"href":"/api-sdk/sdks/sdks/android/medical-records"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/get-started/emr-changelog"}]}]},{"item":"Cookbook","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/chef-hat.svg","description":"Worked examples that combine Eka products","tabs":[{"tab":"Documentation","pages":[{"group":"Cookbook","pages":[{"title":"Cookbook","icon":"utensils","href":"/docs/get-started/cookbook"},{"title":"ABDM-enabled HIS","icon":"hospital","href":"/docs/get-started/whats-possible/abdm-enabled-his"},{"title":"Medical records from any source","icon":"file-medical","href":"/docs/get-started/whats-possible/medical-records-from-any-source"},{"title":"Clinically intelligent HIS","icon":"brain","href":"/docs/get-started/whats-possible/clinically-intelligent-his"},{"icon":"comments","title":"Patient experiences","href":"/docs/products/patient-experiences"},{"title":"Connect your agent to Eka with MCP","icon":"plug","href":"/docs/get-started/whats-possible/mcp-connectors"},{"icon":"calendar-check","title":"Appointments Management","href":"/docs/get-started/whats-possible/appointment-management"},{"icon":"hospital-user","title":"Patients Management App","href":"/docs/get-started/whats-possible/patient-management"},{"icon":"pills","title":"Medication Search","href":"/docs/get-started/whats-possible/medicine-lookup"},{"icon":"clipboard-question","title":"Health Quiz","href":"/docs/get-started/whats-possible/health-assessment"}]}]}]},{"item":"Eka MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/plug.svg","description":"Connect your agent to Eka EMR: patients, appointments and prescriptions","tabs":[{"tab":"Documentation","pages":[{"group":"Eka MCP","pages":[{"icon":"plug","title":"Eka MCP Server","href":"/docs/emr/build-with-ai/mcp-server/introduction"},{"icon":"plug","title":"Remote MCP","href":"/docs/emr/build-with-ai/mcp-server/remote-mcp"},{"icon":"box-open","title":"Local MCP SDK","href":"/docs/emr/build-with-ai/mcp-server/local-mcp"},{"icon":"screwdriver-wrench","title":"Supported Tools","href":"/docs/emr/build-with-ai/mcp-server/supported-tools"},{"icon":"lock","title":"Authentication","href":"/docs/emr/build-with-ai/mcp-server/authentication"}]}]}]},{"item":"Eka Open Source","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/git-branch.svg","description":"Agent SDKs, document printing and app building blocks, on GitHub","tabs":[{"tab":"Documentation","pages":[{"group":"Eka Open Source","pages":[{"title":"Eka Open Source","icon":"code-branch","href":"/docs/open-source/code"}]}]}]}]},{"product":"Newsboard","icon":"newspaper","description":"What changed across Eka, and the research behind it.","menu":[{"item":"Eka Labs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/flask-conical.svg","description":"Open models, datasets and research for AI in Indian healthcare","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/models/spotlight"}]}]},{"item":"Under the hood","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/activity.svg","description":"Monthly notes on reliability and security","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/under-the-hood"}]}]},{"item":"Changelog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/history.svg","description":"What changed across Eka, week by week","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/changelog"}]}]}],"pages":[{"title":"Newsboard","href":"/docs/models/spotlight"}]},{"product":"More from Eka","icon":"box-archive","description":"Products kept out of the navigation. Their pages stay live, listed on /sitemap.","hidden":true,"menu":[{"item":"Medical Agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/bot.svg","description":"A ready-made medical assistant, a kit to build your own agent, and SDKs to embed them","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/products/agents"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/agents/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/get-started/ekaagents-changelog"}]}]},{"item":"Medical Knowledge","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/database.svg","description":"Drugs, labs, protocols and medical knowledge","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/datasets/medical-db"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/datasets/overview"}]}]},{"item":"Understanding Integrations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/compass.svg","description":"For teams already on an Eka product: connect Eka EMR, IPD, Billing and Health Records to your own systems through the same APIs developers build with","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/integrations/overview"}]}]},{"item":"All APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/code.svg","description":"Every Eka API, by product","tabs":[{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk"}]}]}],"pages":[{"title":"More from Eka","href":"/docs/products/agents"}]}]},"basePath":"","title":"Get Slots - Eka Developer Platform APIs","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DbeN8Wo6.js","utils-CwSb5Doc.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BmREeM3N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-AYjWerCj.js","snippetPresets-QD4ULQlp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Digj5cjF.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CiHrzluR.js","shallow-D7h7pFGg.js","getApiPlaygroundDisplay-mlxkpAUf.js","CodeSnippet-D2rH5lZI.js","CodeSnippets-B53ulOaL.js","Page-CqcDm2To.js","getPastedJson-DxGeNMih.js","icon-BHbyrebp.js","MethodPill-C7F_KEEJ.js","DuplicateIcon-j3c5-73z.js","createIcon-OvCnyFqD.js","DynamicMarkdown-DpAS3GCb.js","SectionHeading-DMPpdrvW.js","axios-vUo_bRtp.js","Markdown-D7pDRguu.js","clsx-2_c6mSt_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cu7_SikL.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ydqCcy4b.js"]}