---
title: "Lookup patient by external_id"
method: POST
path: "/patient-lookup"
tags: ["patient_checkout__lookup"]
---

# Lookup patient by external_id

`POST /patient-lookup`

## Request

- Base URL: `sandbox.collectly.co/api/api/partners/v1` (relative, and the document’s source URL is not known)
- URL: `sandbox.collectly.co/api/api/partners/v1/patient-lookup`
- Auth: API key in header `Authorization`

Looks up collectly_patient_id patient by patient's id in the connected EHR.
    In case the patient's account is not present in Collectly instance,
    tries to fetch it from EHR.Lookup patient in the connected billing account.

    To authorize add header `Authorization: <COMPANY_UID>`

## Request body

- PatientLookup
  - `client_id` integer, required
  - `collectly_patient_id` integer
  - `patient_external_id` string, required

## Response `200`

OK

- PatientLookup
  - `client_id` integer, required
  - `collectly_patient_id` integer
  - `patient_external_id` string, required

## Changes

- **2026-11-03** `a45575a6e4b8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/collectly/apis/partners1/changes/patient-lookup/post.md)

---

[API](https://skmtc.dev/collectly/apis/partners1.md) - [All operations](https://skmtc.dev/collectly/apis/partners1/llms.txt) - [OpenAPI document](https://skmtc.dev/collectly/apis/partners1/revisions/a45575a6e4b8?raw)
