---
title: "Create Investment"
method: POST
path: "/api/investments"
tags: ["Investments"]
---

# Create Investment

`POST /api/investments`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/investments`
- Auth: HTTP bearer

Create a new investment plan.

## Request body

- InvestmentCreate
  - `name` string, required
  - `monthly_amount` union, required
    - number
    - string
  - `risk_level` 'cautious' | 'balanced' | 'adventurous'
  - `time_horizon_years` integer
  - `current_portfolio_value` union
    - number
    - string
  - `target_amount` union
    - number
    - string
  - `isa_contributions_this_year` union
    - number
    - string

## Response `201`

Successful Response

- InvestmentResponse
  - `id` string, required
  - `name` string, required
  - `monthly_amount` number, required
  - `risk_level` string, required
  - `time_horizon_years` integer, required
  - `current_portfolio_value` number, required
  - `target_amount` number, nullable, required
  - `isa_contributions_this_year` number, required
  - `created_at` string, required
  - `updated_at` string, required
  - `note` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
