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

auth
string
required

Path Parameters

doctor_id
string
required
clinic_id
string
required

Query Parameters

start_date
string
required
end_date
string
required

Response

200
application/json
OK
data
object