---
title: "Gets a list of agencies that is linked to the agency group"
method: GET
path: "/agency-group/{agency_group_id}/agency"
tags: ["Agency Group Agency"]
---

# Gets a list of agencies that is linked to the agency group

`GET /agency-group/{agency_group_id}/agency`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency-group/{agency_group_id}/agency`
- Auth: HTTP basic

## Query parameters

- `page` integer
- `items_per_page` integer

## Response `200`

list of agencies that is linked to the agency group

- AgencyGroupAgencyListing[]
  - `_id` string, required
  - `agency_group_id` string, required
  - `agency_id` string, required
  - `agency_group_details` AgencyGroupContextDetails, required
    - `display_name` string, required
    - `avatar_url` string
    - `country_code` string: The country code
  - `agency_details` ContextDetails, required
    - `display_name` string, required
    - `avatar_url` string

## Other responses

- `204`: No Content. Returned if no agencies were found.
- `400`: Validation Error. Usually caused by a missing or invalid parameter.
- `401`: Failed to authenticate the user making the request
- `default`: Server error occurred

---

[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.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
