---
title: "List all locations"
method: GET
path: "/clubs/{connection_id}/location"
tags: ["clubs", "location"]
---

# List all locations

`GET /clubs/{connection_id}/location`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/clubs/{connection_id}/location`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `group_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- ClubsLocation[]
  - `id` string: Unique identifier for this location
  - `created_at` string, date-time: The date that this location was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this location was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `group_id` string: The group this location is associated with (reference to HrisGroup)
  - `name` string: The location name
  - `address` ClubsLocationAddress
    - `address1` string
    - `address2` string
    - `city` string
    - `region` string
    - `region_code` string
    - `postal_code` string
    - `country` string
    - `country_code` string: ISO 2-digit country code
  - `latitude` number: The latitude
  - `longitude` number: The longitude
  - `telephone` string: A contact phone number for the location
  - `url` string: A URL for the location
  - `metadata` ClubsMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
