curl --request POST \
--url https://api.voltview.co.uk/v1/addressLookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"postCode": "<string>",
"fuelType": "elec",
"customerConsent": "Yes"
}'
[
{
"id": "<string>",
"address": "<string>",
"postcode": "<string>",
"mpan": "<string>",
"mprn": "<string>"
}
]
Look up addresses by postcode
curl --request POST \
--url https://api.voltview.co.uk/v1/addressLookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"postCode": "<string>",
"fuelType": "elec",
"customerConsent": "Yes"
}'
[
{
"id": "<string>",
"address": "<string>",
"postcode": "<string>",
"mpan": "<string>",
"mprn": "<string>"
}
]
JWT token obtained from /v1/requestToken endpoint
Address lookup successful
The response is of type object[]
.