Skip to content

Get allergy by ID

Request

Retrieve detailed information about a specific allergy. Scoped by account.

Security
PartnerApiKey and PartnerOAuth
Path
accountIdinteger, (int64)required

Account identifier

allergyIdinteger, (int64)required

Allergy ID

accountIdinteger, (int64)required

Account identifier

curl -i -X GET \
  'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/health-profile/allergies/{allergyId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Allergy found and returned successfully

Bodyapplication/json
activeboolean

Whether this record is active

Example:true
allergystring

Allergy name

Example:"Penicillin"
commentstring

Additional comments

Example:"Patient reports severe reaction in childhood"
createdAtstring, (date-time)

Creation timestamp (UTC)

Example:"2025-01-15T14:00:00Z"
createdBystring

Created by (staff name)

Example:"Dr. Jane Smith"
endDatestring, (date)

End date (if resolved)

Example:"2023-01-10"
idinteger, (int64)

Unique allergy identifier

Example:12345
mainReactionstring

Primary reaction/symptom

Example:"Hives"
onsetDatestring, (date)

Onset date

Example:"2020-05-15"
patientIdinteger, (int64)

Patient ID

Example:67890
referenceIdstring

External reference ID (SNOMED, RxNorm, etc.)

Example:"91936005"
severitystring

Severity level

Enum:"SEVERE""MODERATE""MILD""UNKNOWN"
Example:"MODERATE"
statusstring

Allergy status

Enum:"ACTIVE""RESOLVED""UNKNOWN"
Example:"ACTIVE"
updatedAtstring, (date-time)

Last update timestamp (UTC)

Example:"2025-01-15T14:00:00Z"
updatedBystring

Last updated by (staff name)

Example:"Dr. Jane Smith"
Response
{ "active": true, "allergy": "Penicillin", "comment": "Patient reports severe reaction in childhood", "createdAt": "2025-01-15T14:00:00Z", "createdBy": "Dr. Jane Smith", "endDate": "2023-01-10", "id": 12345, "mainReaction": "Hives", "onsetDate": "2020-05-15", "patientId": 67890, "referenceId": "91936005", "severity": "MODERATE", "status": "ACTIVE", "updatedAt": "2025-01-15T14:00:00Z", "updatedBy": "Dr. Jane Smith" }