v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
Doctor and clinic API

List Clinics

Overview

Retrieve a list of all clinics registered for your business. Each entry includes basic clinic details and the doctors associated with that clinic.

Endpoint: {{HOST}}/cdr/v1/clinic

Method: GET

Response Parameters

ParameterTypeDescription
statusstringStatus of the response (e.g., "success")
clinicsarrayList of clinic objects belonging to the business
get/cdr/v1/clinic/

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 - List of clinics

statusstring

Example response

{
  "status": "success",
  "clinics": [
    {
      "id": "c-ab2c-34f2d-2gwd-2g2g",
      "name": "Sunrise Clinic",
      "pincode": "560001",
      "address": "123 Main Street, Block A",
      "doctors": [
        {
          "id": "do1769174683513",
          "firstname": "Rajesh",
          "lastname": "Sharma"
        }
      ],
      "partner_id": "Clinic_321_Indore"
    }
  ]
}