Skip to main content
GET
/
sites
List sites
curl --request GET \
  --url https://app.azalt.co/api/v1/sites \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "parentSiteId": "<string>",
    "country": "<string>",
    "city": "<string>",
    "address": "<string>",
    "unLocode": "<string>",
    "longitude": "<string>",
    "latitude": "<string>",
    "numberOfEmployees": 123,
    "floorAreaInM2": 123,
    "tags": [
      "<string>"
    ],
    "metadata": {}
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

includeRoot
boolean
default:false

Response

Successful response

id
string
required
name
string
required
createdAt
string
required
updatedAt
string
required
parentSiteId
string | null
required
country
string | null
required
city
string | null
required
address
string | null
required
unLocode
string | null
required
longitude
string | null
required
latitude
string | null
required
numberOfEmployees
number | null
required
floorAreaInM2
number | null
required
tags
string[] | null
required
metadata
object
required