v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
Doctor and clinic API

Get Clinic and Doctor details

Overview

The Get Clinic and Doctor Details API provides a comprehensive list of clinics and doctors associated with those clinics for a business. This API is designed to retrieve detailed information about clinics, the doctors working at each clinic, and the overarching business entity.

Endpoint

URL: {{HOST}}/dr/v1/business/entities

Method: GET

Request Parameters

This endpoint does not require any parameters. The auth header contains business-id information which will be used to fetch the details.

Response Parameters

ParameterTypeDescription
statusintegerHTTP status code of the response
dataobjectResponse data object
data.clinicsarrayList of clinic objects
data.clinics[].clinic_idstringUnique identifier of the clinic
data.clinics[].namestringName of the clinic
data.clinics[].doctorsarrayList of doctor IDs associated with the clinic
data.doctorsarrayList of doctor objects
data.doctors[].namestringName of the doctor
data.doctors[].doctor_idstringUnique identifier of the doctor
data.businessobjectDetails of the business entity
data.business.business_idstringUnique identifier of the business
data.business.namestringName of the business
get/dr/v1/business/entities

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

string required