Doctor and clinic API
Get Doctor profile
Overview
This API endpoint is used to retrieve detailed information about a specific doctor using their unique identifier. The response includes comprehensive information about the doctor, such as personal details, specializations, and associated clinics.
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
doctor_id | string | Unique identifier for the doctor | Yes |
Response Parameters
Parameter | Type | Description |
---|---|---|
id | string | Unique identifier for the doctor in Eka |
created_at | datetime | Timestamp when the doctor profile was created |
profile | object | Doctor’s profile details |
profile.personal | object | Personal details of the doctor |
profile.personal.designation | string | Designation (e.g., Dr.) |
profile.personal.first_name | string | First name of the doctor |
profile.personal.middle_name | string | Middle name of the doctor |
profile.personal.last_name | string | Last name of the doctor |
profile.personal.email | string | Email address of the doctor |
profile.personal.gender | string | Gender of the doctor |
profile.personal.dob | date | Date of birth of the doctor |
profile.professional | object | Professional details of the doctor |
profile.professional.active | boolean | Flag indicating if the profile is active |
profile.professional.about | string | About section describing the doctor |
profile.professional.language | array | Languages spoken by the doctor |
profile.professional.language[].language | string | Language name (e.g., English) |
profile.professional.clinics | array | Clinics associated with the doctor |
profile.professional.clinics[] | object | Clinic details |
profile.professional.clinics[]..id | string | Unique identifier for the clinic |
profile.professional.clinics[].city_name | string | City name where the clinic is located |
profile.professional.clinics[].name | string | Name of the clinic |
profile.professional.clinics[].email | string | Email address of the clinic |
profile.professional.clinics[].about | string | About section of the clinic |
profile.professional.clinics[].speciality | array | Specialities offered at the clinic |
profile.professional.clinics[].number | array | Contact numbers for the clinic |
profile.professional.clinics[].number[].name | string | Type of contact number (e.g., Phone, Mobile) |
profile.professional.clinics[].number[].n | string | Contact number |
profile.professional.clinics[].address | object | Address details of the clinic |
profile.professional.clinics[].address.line1 | string | Address line 1 |
profile.professional.clinics[].address.line2 | string | Address line 2 |
profile.professional.clinics[].address.city | string | City of the clinic |
profile.professional.clinics[].address.state | string | State of the clinic |
profile.professional.clinics[].address.country | string | Country of the clinic |
profile.professional.clinics[].address.pincode | string | Pincode of the clinic |
profile.professional.clinics[].location | array | Location coordinates of the clinic |
profile.professional.default_clinic | string | Default clinic ID |
profile.professional.all_registrations | array | Registrations of the doctor |
profile.professional.all_registrations[].id | number | Registration ID |
profile.professional.all_registrations[].council | string | Medical council name |
profile.professional.all_registrations[].medical_id | string | Medical ID number |
profile.professional.all_registrations[].year | string | Year of registration |
profile.professional.all_registrations[].default | boolean | Flag indicating if it is the default registration |
profile.professional.degree | array | Degrees earned by the doctor |
profile.professional.degree[].id | number | Degree ID |
profile.professional.degree[].name | string | Name of the degree |
profile.professional.degree[].branch_name | string | Branch name |
profile.professional.degree[].college_name | string | College name |
profile.professional.degree[].display_status | string | Display status of the degree |
profile.professional.degree[].start_year | string | Start year of the degree |
profile.professional.degree[].end_year | string | End year of the degree |
profile.professional.major_speciality | object | Major speciality of the doctor |
profile.professional.major_speciality.name | string | Name of the major speciality |
profile.professional.speciality | array | Specialities of the doctor |
profile.professional.speciality[].name | string | Name of the speciality |
Status Codes |
• 200: Success
• 403: Doctor data missing
• 500: Wrong API URL/Token mismatched/Wrong JSON request.
GET