> ## Documentation Index
> Fetch the complete documentation index at: https://developer.eka.care/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Clinic by ID

> ### Overview
Retrieve a single clinic's details using either the Eka ID or the partner-provided ID.

**Endpoint:** `{{HOST}}/cdr/v1/clinic/{clinic_id}/`

**Method:** `GET`

### Path Parameters

| Parameter | Type   | Description                                          | Required |
| --------- | ------ | ---------------------------------------------------- | -------- |
| clinic_id | string | Clinic's Eka ID or partner-provided ID               | Yes      |



## OpenAPI

````yaml get /cdr/v1/clinic/{clinic_id}/
openapi: 3.0.0
info:
  title: Ekacare API & Webhook Documentation
  contact: {}
  version: '1.0'
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /cdr/v1/clinic/{clinic_id}/:
    get:
      tags:
        - Doctor and clinic API
      summary: Get Clinic by ID
      description: >-
        ### Overview

        Retrieve a single clinic's details using either the Eka ID or the
        partner-provided ID.


        **Endpoint:** `{{HOST}}/cdr/v1/clinic/{clinic_id}/`


        **Method:** `GET`


        ### Path Parameters


        | Parameter | Type   |
        Description                                          | Required |

        | --------- | ------ |
        ---------------------------------------------------- | -------- |

        | clinic_id | string | Clinic's Eka ID or partner-provided
        ID               | Yes      |
      operationId: GetClinicById
      parameters:
        - name: auth
          in: header
          description: >-
            The auth token of the business. It is used to authenticate the
            client. This should be fetched from auth api.
          required: true
          style: simple
          schema:
            type: string
            example: >-
              eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
        - name: clinic_id
          in: path
          description: Clinic's Eka ID or partner-provided ID
          required: true
          style: simple
          schema:
            type: string
            example: c-ab2c-34f2d-2gwd-2g2g
      responses:
        '200':
          description: OK - Clinic details retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  clinic:
                    type: object
                    properties:
                      id:
                        type: string
                        example: c-ab2c-34f2d-2gwd-2g2g
                      name:
                        type: string
                        example: Sunrise Clinic
                      pincode:
                        type: string
                        example: '560001'
                      contact:
                        type: string
                        example: '9876543210'
                      mobile:
                        type: string
                        example: '+919876543210'
                      address:
                        type: string
                        example: 123 Main Street, Block A
                      doctors:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: do1769174683513
                            firstname:
                              type: string
                              example: Rajesh
                            lastname:
                              type: string
                              example: Sharma
                      partner_id:
                        type: string
                        example: Clinic_321_Indore
        '404':
          description: Clinic not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Clinic not found

````