This API response returns a list of medical services offered by a specific doctor, including details like service name, duration, booking options, and fees. Each service specifies whether it supports pre-pay or post-pay, along with the delivery mode (e.g., in-clinic or teleconsultation). The data helps configure or display available appointment types for patient booking.
Parameter | Type | Description |
---|---|---|
data | object | Response data object |
data.services | array | List of services offered |
data.services[].appointment_type | string | Type of appointment (e.g., REGULAR, FOLLOW_UP) |
data.services[].archive | boolean | Service active or archived on doc tool |
data.services[].book_ahead_days | integer | Service bookability from today |
data.services[].created_at | integer | Epoch time |
data.services[].currency | string | Currency of Price |
data.services[].duration | integer | Duration of service booked in minutes |
data.services[].mode | array | Mode of consultation |
data.services[].pre_pay | boolean | Payment to be taken at the time of booking an appointment or not |
data.services[].price | number | Price of Service |
data.services[].service_name | string | Service Name |
data.services[].conf_id | string | Configuration ID for the service |
"auth"
OK
The response is of type object
.