---
title: "Store energies for a house"
method: POST
path: "/houses/{houseId}/smartmeter"
tags: ["Energy"]
---

# Store energies for a house

`POST /houses/{houseId}/smartmeter`

## Request

- Base URL: `https://connect.clever.gy`
- URL: `https://connect.clever.gy/houses/{houseId}/smartmeter`
- Auth: API key in header `clevergy-api-key`

Stores a list of energies and dates for a specific house.
:::warning
This endpoint is experimental. Please, contact us if you want to use it.
:::

## Path parameters

- `houseId` string, required

## Request body

- StoreHouseEnergiesRequest
  - `energies` EnergyEntry[], required
    - `wh` number, float, required
    - `date` string, date-time, required
    - `dateTo` string, date-time: Not mandatory, if not provided, dateTo is one hour more than date.

## Response `200`

Energies stored correctly

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: House 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)
