---
title: "GET /locations/{location_id}"
method: GET
path: "/locations/{location_id}"
tags: ["locations"]
---

# GET /locations/{location_id}

`GET /locations/{location_id}`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/locations/{location_id}`
- Auth: API key in header `Authorization`

## Response `200`

Request fulfilled, document follows

- DetailedLocationSchema
  - `id` integer
  - `address` string, nullable
  - `name` string, nullable
  - `location_type` 'home' | 'office' | 'client' | 'hotel' | 'airport' | 'other' | 'city' | 'car_rent_agency' | 'rail' | 'rail_group'
  - `lat` number, nullable
  - `long` number, nullable
  - `location_data` string, nullable
  - `visibility` 'public' | 'private' | 'hidden'
  - `created_dt` string, date-time
  - `country` object
  - `short_name` string
  - `main_approver_id` integer, nullable
  - `airport_name` string
  - `country_name` unknown
  - `description` string, nullable
  - `main_contact_phone` string, nullable
  - `main_contact_name` string, nullable
  - `main_contact_email` string, nullable
  - `main_approver` BaseUser (unresolved $ref)

## Other responses

- `404`: Location not found.

---

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