---
title: "Setup Clinic"
method: POST
path: "/clinic/setup"
tags: ["clinic"]
---

# Setup Clinic

`POST /clinic/setup`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/clinic/setup`
- Auth: none declared

Create organisation and clinician profile during onboarding.

Idempotent: If setup was partially completed (e.g. clinician exists but roles
failed), calling again will complete the remaining steps.

## Request body

- SetupRequest
  - `organisation_name` string, required
  - `service_types` string[], nullable
  - `first_name` string, required
  - `last_name` string, required
  - `attribution` object, nullable
  - `country` string, nullable

## Response `200`

Successful Response

- SetupResponse
  - `organisation_id` string, required
  - `clinician_id` string, required
  - `organisation_name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
