---
title: "Get a location"
method: GET
path: "/v1/locations/{locationId}"
tags: ["Locations"]
---

# Get a location

`GET /v1/locations/{locationId}`

## Request

- Base URL: `https://api.workwing.io`
- URL: `https://api.workwing.io/v1/locations/{locationId}`
- Auth: HTTP bearer

Retrieve one location by id. `?select=` chooses columns and embeds related records, as on the list.

## Path parameters

- `locationId` string, uuid, required

## Query parameters

- `select` string

## Response `200`

The location

- object: The location
  - `data` object
    - `id` string, uuid
    - `customer_id` string, uuid
    - `address_line1` string, nullable
    - `address_line2` string, nullable
    - `premise` string, nullable: Building name or number
    - `thoroughfare` string, nullable: Street name
    - `sublocality` string, nullable: Neighborhood or district
    - `locality` string, nullable: City or town
    - `administrative_area` string, nullable: State or province
    - `administrative_area_code` string, nullable
    - `postal_code` string, nullable
    - `country` string, nullable: ISO country code
    - `country_name` string, nullable
    - `formatted_address` string, nullable: Full formatted address string
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `location_precision` string, nullable
    - `what3words_address` string, nullable
    - `plus_code` string, nullable
    - `location_type` string, nullable
    - `location_notes` string, nullable
    - `is_verified` boolean, nullable
    - `verified_at` string, date-time, nullable
    - `verified_by_user_id` string, uuid, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `created_by_user_id` string, uuid, nullable
  - `meta` object
    - `request_id` string
    - `timestamp` string, date-time

## Other responses

- `401`: Default Response
- `404`: Default Response

---

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