GET
/
v1
/
sites
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>",
    "utilities": [
      "ELECTRICITY"
    ],
    "status": "ACTIVE"
  }
]

Authorizations

Authorization
string
header
required

JWT token obtained from /v1/requestToken endpoint

Response

200
application/json
Sites retrieved successfully
id
string
required

Site identifier

name
string
required

Site name

address
string
required

Site address

postcode
string

Site postcode

region
string

Geographic region

floorArea
number

Floor area in square meters

buildingType
string

Type of building

utilities
enum<string>[]

Utilities available at the site

Available options:
ELECTRICITY,
GAS,
WATER
status
enum<string>

Site status

Available options:
ACTIVE,
INACTIVE