---
title: "Create a savings goal"
method: POST
path: "/personal-finance/goals"
tags: ["personal finance"]
---

# Create a savings goal

`POST /personal-finance/goals`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/personal-finance/goals`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- CreateSavingsGoalDto
  - `name` string, required: Goal name
  - `description` string: Goal description
  - `targetAmount` number, required: Target amount
  - `currency` string, required: Currency for this goal (only contributions in this currency count)
  - `currentAmount` number: Current amount saved (defaults to 0)
  - `deadline` string: Deadline (YYYY-MM-DD)
  - `color` string: Color hex code
  - `icon` string: Icon name (Lucide icon)
  - `isActive` boolean: Whether the goal is active

## Response `201`

Goal created

---

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