Appointment API
Get Appointment Slots
Connect
- Webhooks
General Tools
- Self Assessments
- Medical Document Parsing
- Medical Speech Understanding
Doctor Tool
- Actors
- Instructions
- Patient Registration API
- Doctor and clinic API
- Appointment API
- Payments API
- Prescription API
- Notify
- Webhooks
ABDM Connect
- Create and Login
- User Session
- Patient Requests
- Consents
- Care Contexts
- Providers
- Profile
- Scan & Share
- Errors
Medical Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
Appointment API
Get Appointment Slots
This API is the first step in booking appointment slot for a patient at a doctor’s clinic
GET
/
dr
/
v1
/
doctor
/
{doctor_id}
/
clinic
/
{clinic_id}
/
appointment
/
slot
curl --request GET \
--url https://api.eka.care/dr/v1/doctor/{doctor_id}/clinic/{clinic_id}/appointment/slot \
--header 'auth: <auth>'
{
"data": {
"schedule": {
"60532c7dcb46901ba3a3e462": [
{
"service_type": "consultation",
"slots": [
{
"available": false,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T09:30:00+05:30",
"s": "2024-09-05T09:15:00+05:30"
},
{
"available": true,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T09:45:00+05:30",
"s": "2024-09-05T09:30:00+05:30"
},
{
"available": false,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T10:00:00+05:30",
"s": "2024-09-05T09:45:00+05:30"
},
{
"available": true,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T10:15:00+05:30",
"s": "2024-09-05T10:00:00+05:30"
},
{
"available": true,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T10:30:00+05:30",
"s": "2024-09-05T10:15:00+05:30"
}
]
}
]
},
"services": {
"30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b": {
"allow_patient_booking": true,
"appointment_type": "REGULAR",
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"conv_fee": 0,
"currency": "INR",
"discount": 0,
"mode": [
"in-clinic"
],
"owner_id": "161419272566611",
"post_pay": false,
"pre_pay": true,
"price": 500,
"service_id": 1,
"service_name": "consultation"
}
}
},
"success": "true",
"status_code": 200
}
Headers
Response
200
application/json
OK
curl --request GET \
--url https://api.eka.care/dr/v1/doctor/{doctor_id}/clinic/{clinic_id}/appointment/slot \
--header 'auth: <auth>'
{
"data": {
"schedule": {
"60532c7dcb46901ba3a3e462": [
{
"service_type": "consultation",
"slots": [
{
"available": false,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T09:30:00+05:30",
"s": "2024-09-05T09:15:00+05:30"
},
{
"available": true,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T09:45:00+05:30",
"s": "2024-09-05T09:30:00+05:30"
},
{
"available": false,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T10:00:00+05:30",
"s": "2024-09-05T09:45:00+05:30"
},
{
"available": true,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T10:15:00+05:30",
"s": "2024-09-05T10:00:00+05:30"
},
{
"available": true,
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"e": "2024-09-05T10:30:00+05:30",
"s": "2024-09-05T10:15:00+05:30"
}
]
}
]
},
"services": {
"30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b": {
"allow_patient_booking": true,
"appointment_type": "REGULAR",
"conf_id": "30daff8bf9df0abd81ad041003b4690a436db2ad26016814bca037ce0ba22e3b",
"conv_fee": 0,
"currency": "INR",
"discount": 0,
"mode": [
"in-clinic"
],
"owner_id": "161419272566611",
"post_pay": false,
"pre_pay": true,
"price": 500,
"service_id": 1,
"service_name": "consultation"
}
}
},
"success": "true",
"status_code": 200
}