---
title: "Get site details"
method: GET
path: "/organisation/{organisation_id}/site/{site_id}"
tags: ["Site Details"]
---

# Get site details

`GET /organisation/{organisation_id}/site/{site_id}`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/organisation/{organisation_id}/site/{site_id}`
- Auth: none declared. Required headers: `Authorization`, `Context`, `Accept`

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string
- `X-Accept-Date-ISO` 'on'

## Response `200`

The site details

- object
  - `_id` string, required: The site id
  - `site_name` string, required
  - `organisation_id` string, required: The organisation id
  - `site_type_id` string, required: The site type id
  - `organisation_name` string, required
  - `reference_number` string
  - `site_address` object[], required
    - `address_type` string, required
    - `country_code` string, required
    - `province` string
    - `address_line_1` string, required
    - `address_line_2` string
    - `city` string
    - `post_code` string, required
    - `geo_location` object
      - `latitude` number, required
      - `longitude` number, required
    - `geo_location_details` object
      - `type` 'lookup' | 'lookup_malformed' | 'lookup_failed' | 'manual'
      - `updated_at` string, date-time

## Other responses

- `400`: Validation errors
- `401`: Failed to authenticate the user making the request
- `404`: No resource found
- `default`: Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) - [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
