cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/sites/annualConsumptionAndEmissions \ --header 'Authorization: Bearer <token>'
[ { "siteId": "<string>", "period": "<string>", "consumption": 123, "emissions": 123, "emissionsIntensity": 123, "comparisonPeriod": "<string>", "previousConsumption": 123, "previousEmissions": 123, "consumptionChange": 123, "emissionsChange": 123 } ]
Retrieves annual energy consumption and emissions data across all sites
JWT token obtained from /v1/requestToken endpoint
Annual consumption and emissions data retrieved successfully
The response is of type object[].
object[]