---
title: "Retrieve an allergy"
method: GET
path: "/healthcare/{connection_id}/allergy/{id}"
tags: ["healthcare", "allergy"]
---

# Retrieve an allergy

`GET /healthcare/{connection_id}/allergy/{id}`

## Request

- Base URL: `https://api.unified.to`
- URL: `https://api.unified.to/healthcare/{connection_id}/allergy/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- HealthcareAllergy
  - `id` string: Unique identifier for the allergy/intolerance
  - `created_at` string, date-time: When the allergy record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the allergy record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `patient_id` string: The patient who has the allergy
  - `encounter_id` string: The encounter in which the allergy was recorded
  - `practitioner_id` string: The practitioner who recorded or asserted the allergy
  - `name` string: Human-readable name of the substance
  - `codes` HealthcareCode[]: Codings for the substance (e.g. RxNorm, SNOMED CT)
    - `system` string: The code system URI (e.g. http://loinc.org, http://snomed.info/sct)
    - `code` string: The code within the system
    - `display` string: Human-readable display text for the code
  - `status` 'ACTIVE' | 'INACTIVE' | 'RESOLVED' | 'OTHER': Clinical status of the allergy
  - `type` 'FOOD' | 'MEDICATION' | 'ENVIRONMENT' | 'BIOLOGIC' | 'OTHER': Category of the substance
  - `criticality` 'LOW' | 'HIGH' | 'UNABLE_TO_ASSESS' | 'OTHER': Potential severity of future reactions
  - `reactions` HealthcareCode[]: Codings for observed reaction manifestations (e.g. hives, anaphylaxis)
    - `system` string: The code system URI (e.g. http://loinc.org, http://snomed.info/sct)
    - `code` string: The code within the system
    - `display` string: Human-readable display text for the code
  - `onset_at` string, date-time: When the allergy was first identified (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `recorded_at` string, date-time: When the allergy was recorded (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `notes` string: Free-text notes about the allergy
  - `metadata` HealthcareMetadata[]: Custom field values
    - `id` string: Identifier of the custom field
    - `value` union: The custom field value
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string: The scope or origin of the custom field
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` union: Additional data about the custom field
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `slug` string: The custom field key
  - `raw` object: Raw data from integration

## Changes

- **2026-10-12** `32f1e856a6c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unified/apis/unified-to-api/changes/healthcare/:connection_id/allergy/:id/get.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api/revisions/88a1fc7820d6?raw)
