This section captures all the system-driven communication events that Eka currently supports through webhooks (events) — such as appointment creation, cancellations, teleconsultation updates, prescription events, etc. Each entry includes the event name, when it’s triggered, a sample payload, and guidance on how to use it. Each communication is driven by a system event (webhook) and follows a predefined logic using appointment, patient, doctor, or clinic data. These webhook events enable seamless communication between Eka and your systems, allowing you to respond to key actions in real time — whether it’s updating records, sending notifications, or triggering downstream processes based on patient or doctor activity. This version of the table shows high-level details for each use case in a simplified format.Documentation Index
Fetch the complete documentation index at: https://ekacare-nhpr-fix.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Event Triggers
| Event Description | Event Name | Applicable Mode | Trigger | Sample Payload Snippet | Notes |
|---|---|---|---|---|---|
| In-Clinic Appointment Booking | appointment.created | In-clinic | When a patient books an appointment | | “Mode” can be checked by calling get_appointment_details API |
| Tele-Consultation Booking | appointment.created | Tele | When a patient books an appointment | | “Mode” can be checked by calling get_appointment_details API |
| Doctor Joined Video Consultation | appointment.tele.dr_joined | Tele | When the doctor enters the video consultation | Indicates patient that doctor has joined the video room | |
| Appointment Cancelled | appointment.updated | All | When the appointment status changes to CN/CND/CNS | Status values: CN (Cancelled by patient), CND (Cancelled by Doctor), CNS (Cancelled by Staff). | |
| Prescription Created | prescription.created | All | When the doctor clicks finish prescription | | Use “prescription_id” to fetch full clinical content by calling get_prescription_details API. |
| Prescription Updated | prescription.updated | All | When the doctor modifies a saved prescription | | Use “prescription_id” to call get_prescription_details API for updated info. |

