---
title: "Get user houses"
method: GET
path: "/users/{userId}/supplies"
tags: ["Houses"]
---

# Get user houses

`GET /users/{userId}/supplies`

## Request

- Base URL: `https://connect.clever.gy`
- URL: `https://connect.clever.gy/users/{userId}/supplies`
- Auth: API key in header `clevergy-api-key`

Search a list of houses of the user.

## Path parameters

- `userId` string, required

## Response `200`

Supplies of a given user

- object[]
  - `houseId` string
  - `cups` string
  - `address` string
  - `postalCode` string
  - `firstConsumptionDate` string, date-time
  - `lastConsumptionDate` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Not found
- `default`: Unexpected error

---

[API](https://skmtc.dev/clevergy/apis/clevergy-connect-api.md) - [All operations](https://skmtc.dev/clevergy/apis/clevergy-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clevergy/apis/clevergy-connect-api/revisions/d333c5eecb5b?raw)
