Doctor and clinic API
Get Clinic details
Overview
This API endpoint retrieves detailed information about a specific clinic using its unique identifier.
Endpoint
URL: {{HOST}}/dr/v1/business/clinic/{{clinic_id}}
Method: GET
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
clinic_id | string | Unique identifier for the clinic | Yes |
Response Parameters
Parameter | Type | Description |
---|---|---|
success | boolean | Indicates if the request was successful |
data | object | Response data object |
data.clinic | object | Clinic details |
data.clinic.clinic_id | string | Unique identifier of the clinic |
data.clinic.name | string | Name of the clinic |
data.clinic.address | object | Address details of the clinic |
data.clinic.address.city | string | City of the clinic |
data.clinic.address.country | string | Country of the clinic |
data.clinic.address.lat | string | Latitude of the clinic |
data.clinic.address.line1 | string | Address line 1 |
data.clinic.address.lon | string | Longitude of the clinic |
data.clinic.address.pincode | string | Pincode of the clinic |
data.clinic.address.state | string | State of the clinic |
GET
/
dr
/
v1
/
business
/
clinic
/
{clinic_id}
Headers
auth
string
requiredThe auth token of the business. It is used to authenticate the client. This should be fetched from auth API.
Path Parameters
clinic_id
string
requiredUnique identifier for the clinic
Response
200 - application/json
success
boolean
data
object