---
title: "Create Structure Power Consumer"
method: POST
path: "/v1/power_consumers/custom/{structure_id}"
tags: ["power_consumers"]
---

# Create Structure Power Consumer

`POST /v1/power_consumers/custom/{structure_id}`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/power_consumers/custom/{structure_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint creates new custom power consumers. on a structure.

## Path parameters

- `structure_id` string, required

## Request body

- StructurePowerConsumerCreateInput[]
  - `name` string
  - `description` string
  - `powerConsumptionKW` number, required
  - `uptimeH` number, required
  - `tenantId` integer, nullable
  - `batteryBankId` integer, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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