---
title: "POST /api/v1/accounts"
method: POST
path: "/api/v1/accounts"
tags: ["Accounts"]
---

# POST /api/v1/accounts

`POST /api/v1/accounts`

## Request

- Base URL: `https://api.ledgy.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ledgy.app/api/v1/accounts`
- Auth: none required

## Request body

- CreateAccountRequest
  - `name` string, required
  - `icon` string, nullable
  - `color` string, nullable
  - `currencyCode` string, required
  - `initialBalance` number, double
  - `iconColor` string, nullable
  - `order` integer

## Response `201`

Created

- AccountDto
  - `id` string, nullable
  - `name` string, nullable
  - `icon` string, nullable
  - `color` string, nullable
  - `currencyCode` string, nullable
  - `initialBalance` number, double
  - `iconColor` string, nullable
  - `order` integer
  - `shareInviteToken` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400`: Bad Request

---

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