---
title: "List Locations"
method: GET
path: "/api/v1/locations/{id}"
---

# List Locations

`GET /api/v1/locations/{id}`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/locations/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

Location

- object
  - `data` Location, required
    - `id` integer, required
    - `osm_id` integer, nullable, required
    - `osm_type` string, nullable, required
    - `city` string, nullable, required
    - `state` string, nullable, required
    - `country` string, nullable, required
    - `country_code` string, nullable, required
    - `formatted` string, required
    - `location_type` 'country' | 'state' | 'city', required
  - `meta` object, nullable

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
