---
title: "Retrieve patient profile by username"
method: GET
path: "/profiles/v1/patient/{username}/username/?flatten=true"
---

# Retrieve patient profile by username

`GET /profiles/v1/patient/{username}/username/?flatten=true`

Retrieves patient profile using username in a workspace.

## Path parameters

- `username` string, required

## Headers

- `client-id` string, required

## Response `200`

Patient profile details

- PatientProfile[]
  - `oid` string
  - `wid` string
  - `ps` string
  - `c_ate` integer
  - `u_ate` integer
  - `gen` string
  - `dob` string, date
  - `is_age` boolean
  - `fn` string
  - `ln` string
  - `fln` string
  - `bg` string
  - `mobile` string
  - `ccd` string
  - `email` string, email
  - `username` string
  - `s` string
  - `abha` string

## Other responses

- `404` — Not found

---

[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)
