curl --request GET \
--url https://api.voltview.co.uk/v1/sites \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"name": "<string>",
"address": "<string>",
"postcode": "<string>",
"region": "<string>",
"floorArea": 123,
"buildingType": "<string>",
"meterCount": 123,
"utilities": [
"ELECTRICITY"
],
"status": "ACTIVE"
}
]
Retrieves all sites associated with the authenticated user
curl --request GET \
--url https://api.voltview.co.uk/v1/sites \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"name": "<string>",
"address": "<string>",
"postcode": "<string>",
"region": "<string>",
"floorArea": 123,
"buildingType": "<string>",
"meterCount": 123,
"utilities": [
"ELECTRICITY"
],
"status": "ACTIVE"
}
]
JWT token obtained from /v1/requestToken endpoint
Sites retrieved successfully
The response is of type object[]
.