---
title: "Get a site by ID"
method: GET
path: "/{org_slug}/sites/{id}"
tags: ["Sites"]
---

# Get a site by ID

`GET /{org_slug}/sites/{id}`

## Request

- Base URL: `https://api.obelinf.com`
- URL: `https://api.obelinf.com/{org_slug}/sites/{id}`
- Auth: HTTP bearer

Get a site by ID

## Path parameters

- `org_slug` string, required
- `id` string, required

## Response `200`

Site details

- object
  - `site` object, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `status` string, required
    - `updated_at` string, required
    - `contact_email` string, nullable
    - `contact_name` string, nullable
    - `contact_phone` string, nullable
    - `description` string, nullable
    - `facility` string, nullable
    - `latitude` string, nullable
    - `longitude` string, nullable
    - `physical_address` string, nullable
    - `shipping_address` string, nullable
    - `site_group_id` string, nullable
    - `site_group_name` string, nullable
    - `time_zone` string, nullable
  - `tags` object[], required
    - `id` string, required
    - `tag_id` string, required
    - `tag_name` string, required
    - `tag_color` string, nullable

## Other responses

- `404`: Not found

---

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