---
title: "Create an account"
method: POST
path: "/v2/users"
tags: ["Account"]
---

# Create an account

`POST /v2/users`

Create a new account with a login and password

## Request body

- V2controllersCreateUserRequestBody
  - `login` string
  - `password` string

## Response `200`

OK

- V2controllersCreateUserResponseBody
  - `id` integer
  - `login` string
  - `password` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/getalby/apis/lndhub-go.md) · [All operations](https://skmtc.net/getalby/apis/lndhub-go/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getalby/lndhub-go/versions/0891f2052750/schema)
