---
title: "Add Transaction"
method: POST
path: "/api/transactions"
---

# Add Transaction

`POST /api/transactions`

## Request

- Base URL: `https://api.getsigvest.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getsigvest.com/api/transactions`
- Auth: none declared

Add a new transaction

## Request body

- Transaction
  - `id` string, nullable
  - `user_id` string, required
  - `ticker` string, required
  - `quantity` number, required
  - `purchase_price` number, required
  - `date_bought` string, required
  - `transaction_type` string
  - `asset_class` string
  - `notes` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getsigvest/apis/sigvest-api.md) · [All operations](https://skmtc.dev/getsigvest/apis/sigvest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getsigvest/apis/sigvest-api/revisions/3c011b033f7a?raw)
