---
title: "Get a clinic by id"
method: GET
path: "/api/clinics/{clinicId}"
tags: ["Clinics"]
---

# Get a clinic by id

`GET /api/clinics/{clinicId}`

## Request

- Base URL: `https://api.doctofam.com`
- URL: `https://api.doctofam.com/api/clinics/{clinicId}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Returns a single clinic. Credentials are optional: the clinic's public website already serves every field, so an anonymous caller gets the same record. An authenticated caller needs the `clinics:read` scope and gets 404 for a clinic in another organization so ids cannot be probed.

## Path parameters

- `clinicId` string, required

## Response `200`

The clinic

## Other responses

- `403`: API key is missing the `clinics:read` scope
- `404`: No such clinic in your organization

---

[API](https://skmtc.dev/doctofam/apis/doctofam-api.md) · [All operations](https://skmtc.dev/doctofam/apis/doctofam-api/llms.txt) · [OpenAPI document](https://skmtc.dev/doctofam/apis/doctofam-api/revisions/435b0ab34960?raw)
