---
title: "GET /api/v1/hosting/locations"
method: GET
path: "/api/v1/hosting/locations"
tags: ["hosting"]
---

# GET /api/v1/hosting/locations

`GET /api/v1/hosting/locations`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/hosting/locations`
- Auth: HTTP bearer

## Response `200`

Available hosting locations

- object
  - `locations` HostingLocation[], required
    - `id` string, required
    - `code` string, required
    - `name` string, required
    - `nomad_datacenter` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/19698ba051dc?raw)
