---
title: "Create asset"
method: POST
path: "/assets"
tags: ["Assets"]
---

# Create asset

`POST /assets`

Create an asset

## Request body

- Asset
  - `asset_id` string, required
  - `name` string, required

## Response `201`

Document created, URL follows

- Asset
  - `asset_id` string, required
  - `name` string, required

## Other responses

- `400` — Bad request syntax or unsupported method

## Changes

> 2 revisions in range; 1 could not be searched.

- **2024-05-22** `eb9dca23812a` — 3 info
  - api operation id `AssetsCreate` removed and replaced with `AssetsCreateBulkAssets`
  - added the new optional request property `user_id`
  - added the optional property `user_id` to the response with the `201` status

[Change history](https://skmtc.dev/equiwatt/apis/equiwatt-api/changes/assets/post.md)

---

[API](https://skmtc.dev/equiwatt/apis/equiwatt-api.md) · [All operations](https://skmtc.dev/equiwatt/apis/equiwatt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/equiwatt/equiwatt-api/revisions/332ef685d64d/schema)
