v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBDoctor and clinic API
Get Doctor by ID
Overview
Retrieve a single doctor's profile using either the Eka ID or the partner-provided ID.
Endpoint: {{HOST}}/cdr/v1/doctor/{doc_id}/
Method: GET
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| doc_id | string | Doctor's Eka ID or partner-provided ID | Yes |
get/cdr/v1/doctor/{doc_id}/
Path parameters
doc_idstring required
Example:do1769174683513
Doctor's Eka ID or partner-provided ID
Headers
authstring required
Example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
The auth token of the business. It is used to authenticate the client. This should be fetched from auth api.
Response
OK - Doctor profile retrieved
Example response
{
"status": "success",
"doctor": {
"id": "do1769174683513",
"firstname": "Rajesh",
"lastname": "Sharma",
"mobile": "0000011111",
"email": "dr.rajesh@example.com",
"profile_image_url": "https://example.com/images/dr-rajesh.jpg",
"about": "Dr. Rajesh Sharma is a renowned cardiologist with over 15 years of experience.",
"specialisation": "Cardiology",
"clinics": [
{
"id": "c-ab2c-34f2d-2gwd-2g2g",
"name": "Sunrise Clinic"
}
],
"partner_id": "Part_doc"
}
}