---
title: "Retrieve a location"
method: GET
path: "/clubs/{connection_id}/location/{id}"
tags: ["clubs", "location"]
---

# Retrieve a location

`GET /clubs/{connection_id}/location/{id}`

## Request

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

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- ClubsLocation: formatted address string + lat/long) and PlayHQ venues (structured address parts).
  - `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)
