---
title: "POST /users"
method: POST
path: "/users"
tags: ["user"]
---

# POST /users

`POST /users`

ユーザー登録します

## Request body

- UserRegister
  - `name` string, required — ユーザー名(半角英数字とアンダーバー(_)の1文字以上32文字以下)
  - `password` string, password, required — パスワード

## Response `201`

正常に登録できました。

## Other responses

- `400` — 登録できませんでした。リクエスト内容が不正です。
- `403` — 登録できませんでした。権限がありません。

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `registerUser` was added
- **2019-07-05** `6956f2622a20` — 7 info
  - api operation id `registerUser` removed and replaced with ``
  - endpoint reactivated
  - added optional request body
  - added the non-success response with the status `400`
  - …3 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/users/post.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/66a69a1387ed/schema)
