---
title: "Get agencies (v1)"
method: GET
path: "/api/v1/references/agencies"
tags: ["api---references"]
---

# Get agencies (v1)

`GET /api/v1/references/agencies`

## Request

- Base URL: `https://api.casafari.com`
- URL: `https://api.casafari.com/api/v1/references/agencies`
- Auth: HTTP bearer

Returns a list of all possible agencies with user restrictions.

## Query parameters

- `name` string, required

## Response `200`

- ApiAgenciesV1[]
  - `name` string, required: Name of the agency.
  - `agency_type` string, required: Type of the agency.
  - `source_ids` integer[], required: List of source IDs that belongs to the agency.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/casafari/apis/casafari-api.md) · [All operations](https://skmtc.dev/casafari/apis/casafari-api/llms.txt) · [OpenAPI document](https://skmtc.dev/casafari/apis/casafari-api/revisions/6743b99d4bf9?raw)
