---
title: "Get lookup list for one entity type and id"
method: GET
path: "/agency/{agency_id}/lookup"
tags: ["Agency Lookup"]
---

# Get lookup list for one entity type and id

`GET /agency/{agency_id}/lookup`

## Path parameters

- `agency_id` string, required

## Query parameters

- `page` integer
- `items_per_page` integer
- `sortBy` string[]
- `lookup_type` string[]
- `category` string[]

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string
- `X-Request-Id` string

## Response `200`

The list of lookup objects

- object[]
  - `name` string, required
  - `parent` string
  - `metadata` object
  - `related` object
    - `entity_type` string, required
    - `entity_id` string, required
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `lookup_type` string, required
  - `category` string[]

## Other responses

- `204` — No records found that matches the query
- `400` — Invalid data response
- `401` — Failed to authenticate the user making the request
- `403` — Permission denied error
- `default` — unexpected error

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
