---
title: "List Agency Accounts for Location"
method: GET
path: "/locations/{region_platform_public_id}/agency_accounts"
---

# List Agency Accounts for Location

`GET /locations/{region_platform_public_id}/agency_accounts`

## Request

- Base URL: `https://docs.mosey.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.mosey.com/locations/{region_platform_public_id}/agency_accounts`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `/api/token`
  - OAuth 2
    - Password
    - Token URL: `/api/token`
- TypeScript: <https://skmtc.dev/mosey/apis/mosey-api/docs/locations/:region_platform_public_id/agency_accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `region_platform_public_id` string, required

## Response `200`

Successful Response

- AppApiPlatformModelsPlatformAgencyAccount[]
  - `location_id` string, required
  - `id` string, required
  - `name` string, required
  - `agency` PlatformAgency, required
    - `id` string, required
    - `name` string, required
    - `website` string, required
  - `data` PlatformAgencyAttributeAndValue[], required
    - `name` string, required
    - `description` string, nullable, required
    - `value` string, nullable, required
  - `logins` PlatformLegalEntityAccountLogin[], required
    - `id` string, required: The identifier of this Account Login
    - `name` string, required: The name of the Login
    - `location_id` string, required: The location id the login belongs to
    - `login_url` string, required: This field is deprecated, please use url.
    - `url` string, required: The url pointing to the login page for this Login

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mosey/apis/mosey-api.md) - [All operations](https://skmtc.dev/mosey/apis/mosey-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mosey/apis/mosey-api/revisions/2121b0e65643?raw)
