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

# Get a location

`GET /locations/{id}`

## Request

- Base URL: `https://simpledock.ai/api/v1`
- URL: `https://simpledock.ai/api/v1/locations/{id}`
- Auth: HTTP bearer

Fetch one location by ID, including its timezone, street address, and whether bookings need approval.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `data` Location, required
    - `id` string
    - `name` string
    - `slug` string
    - `timezone` string
    - `address` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `zip` string, nullable
    - `appointmentApprovalRequired` boolean
    - `createdAt` string, date-time

## Other responses

- `401`: Unauthorized — missing, invalid, or expired key
- `402`: Payment required — a Pro feature or a Free plan limit
- `403`: Forbidden — key is missing the required scope
- `404`: Not found
- `429`: Rate limited — slow down and retry after Retry-After

---

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