GET
/
meter
/
search
curl --request GET \
  --url http://localhost:8002/meter/search \
  --header 'Authorization: Bearer <token>'
[
  {
    "ref": "<string>",
    "address": "<string>"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

postcode
string
required

Postcode at which the requested meter is registered

building_identifier
string

House number or house/building name, e.g. '3', '10A', 'Flat 4', 'The Old Barn'

Response

200
application/json
List of meters matching the address
ref
string
required

Encrypted reference to the meter that can be used in subsequent API calls

address
string
required

Full address where the meter is registered