---
title: "Get generic references"
method: GET
path: "/v1/internal/generic-references"
tags: ["Internal"]
---

# Get generic references

`GET /v1/internal/generic-references`

Returns generic references from HHA GenericReferences table by CompanyID (ProviderId/VendorId) and ReferenceType. Client ID and API key are required for authentication and to determine the correct HHA database environment. Returns all active reference records matching the specified CompanyID and ReferenceType.

## Query parameters

- `ClientId` string, required — Client ID (mandatory)
- `XApiKey` string, required — API key (mandatory)
- `ProviderId` integer, required — Provider ID / Vendor ID (CompanyID) (mandatory)
- `ReferenceType` string, required — Reference type (e.g., 'EmergencyContactRelationship') (mandatory)

## Response `200`

Successful Response

- GenericReferencesResponse — Response for GET /internal/generic-references: list of generic references by CompanyID and ReferenceType.
  - `CompanyID` integer, required
  - `ReferenceType` string, required
  - `References` GenericReferenceItem[]
    - `ReferenceCode` string, required
    - `Seq` integer, required
    - `ReferenceValue` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hhaexchange/apis/fastapi.md) · [All operations](https://skmtc.net/hhaexchange/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hhaexchange/fastapi/revisions/17ca04f67931/schema)
