---
title: "Create Clinic"
method: POST
path: "/cdr/v1/clinic/"
tags: ["Doctor and clinic API"]
---

# Create Clinic

`POST /cdr/v1/clinic/`

### Overview
The Create Clinic API allows you to register a new clinic for your business, including its name, address, pincode, contact number, city, state, and assigned doctors.

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

**Method:** POST
### Request Parameters

| Parameter   | Type    | Description                                   | Required |
| ----------- | ------- | --------------------------------------------- | -------- |
| name        | string  | Name of the clinic                            | Yes      |
| address     | string  | Address of the clinic                         | Yes      |
| partner_id  | string  | Unique id of the clinic in partner's system.  | No      |
| pincode     | string  | Pincode of the clinic                         | No       |
| contact     | string  | Contact number                                | No       |
| doctor_ids  | array   | List of doctor Eka IDs to assign to this clinic| No      |
| partner_doctor_ids  | array   | List of partner doctor IDs to assign to this clinic| No      |
| city        | string  | City name                                     | No       |
| state       | string  | State name                                    | No       |
### Response Parameters

| Parameter   | Type    | Description                                   |
| ----------- | ------- | --------------------------------------------- |
| status      | string  | Status of the response (e.g., "success")      |
| ekaid       | string  | Unique identifier for the created clinic      |

## Headers

- `auth` string, required

## Request body

- object
  - `name` string, required — Name of the clinic
  - `address` string, required — Address of the clinic
  - `partner_id` string — Unique identifier of the clinic in the partner’s system
  - `pincode` string — Pincode of the clinic
  - `contact` string — Contact number (10 or 11 digits)
  - `doctor_ids` string[] — List of doctor Eka IDs to assign to this clinic
  - `partner_doctor_ids` string[] — List of partner doctor IDs to assign to this clinic
  - `city` string — City name
  - `state` string — State name

## Response `201`

Created - Clinic successfully created

- object
  - `status` string
  - `ekaid` string — Unique identifier for the created doctor

## Other responses

- `400` — Bad Request - Invalid or missing required parameters

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
