---
title: "List locations"
method: GET
path: "/api/locations"
tags: ["Location"]
---

# List locations

`GET /api/locations`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/locations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/locations/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns locations filtered by entity type (agency, company, property) or city

## Query parameters

- `entity_type` string
- `entity_id` integer
- `sub_brands` boolean
- `exclude_digital` boolean
- `cityId` integer

## Response `200`

List of locations

## Other responses

- `401`: Unauthenticated

---

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