---
title: "Create Asset"
method: POST
path: "/api/assets"
tags: ["assets"]
---

# Create Asset

`POST /api/assets`

## Headers

- `X-Workspace-Id` string, nullable

## Request body

- AssetCreate
  - `name` string, required
  - `type` string, required
  - `currency` string
  - `units` union
    - number
    - string
  - `valuation_method` string
  - `purchase_date` string, date, nullable
  - `purchase_price` union
    - number
    - string
  - `sell_date` string, date, nullable
  - `sell_price` union
    - number
    - string
  - `current_value` union
    - number
    - string
  - `growth_type` string, nullable
  - `growth_rate` union
    - number
    - string
  - `growth_frequency` string, nullable
  - `growth_start_date` string, date, nullable
  - `is_archived` boolean
  - `position` integer
  - `group_id` string, uuid, nullable
  - `ticker` string, nullable
  - `ticker_exchange` string, nullable
  - `maturity_date` string, date, nullable
  - `unit_price` union
    - number
    - string

## Response `201`

Successful Response

- AssetRead
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `name` string, required
  - `type` string, required
  - `currency` string, required
  - `units` number, nullable
  - `valuation_method` string, required
  - `purchase_date` string, date, nullable
  - `purchase_price` number, nullable
  - `sell_date` string, date, nullable
  - `sell_price` number, nullable
  - `growth_type` string, nullable
  - `growth_rate` number, nullable
  - `growth_frequency` string, nullable
  - `growth_start_date` string, date, nullable
  - `is_archived` boolean, required
  - `position` integer, required
  - `current_value` number, nullable
  - `current_value_primary` number, nullable
  - `gain_loss` number, nullable
  - `gain_loss_primary` number, nullable
  - `value_count` integer
  - `source` string
  - `connection_id` string, uuid, nullable
  - `isin` string, nullable
  - `maturity_date` string, date, nullable
  - `group_id` string, uuid, nullable
  - `ticker` string, nullable
  - `ticker_exchange` string, nullable
  - `last_price` number, nullable
  - `last_price_at` string, date-time, nullable
  - `logo_url` string, nullable
  - `average_price` number, nullable
  - `total_invested` number, nullable
  - `realized_gain` number, nullable
  - `transaction_count` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) · [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesecuro/securo/revisions/1df3dfa0c028/schema)
