cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/sites/{siteId}/reports \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "siteId": "<string>", "name": "<string>", "type": "CONSUMPTION", "createdAt": "2023-11-07T05:31:56Z", "period": "<string>", "downloadUrl": "<string>" } ]
Retrieves energy reports for a specific site
JWT token obtained from /v1/requestToken endpoint
Site identifier
Reports retrieved successfully
The response is of type object[].
object[]