Get user houses

Returns the user houses

get/users/{userId}/houses

Request

  • Base URL
    https://connect.clever.gy
  • Auth
    API key in header clevergy-api-key

Path parameters

userIdstring required

ID of user

Response

Houses of a given user

houseIdstring
cupsstring
addressstring
postalCodestring
firstConsumptionDatestring date-time
lastConsumptionDatestring date-time

Example response

[
  {
    "houseId": "8ec307fc-3b4c-4f6f-b320-fa2587990a46",
    "cups": "ES0022123456781234AB0F",
    "address": "Leonardo da Vinci 7",
    "postalCode": "41092",
    "firstConsumptionDate": "2022-12-31T23:00:00",
    "lastConsumptionDate": "2023-12-31T22:00:00"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.