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

# POST /v1/users

`POST /v1/users`

CreateUser

## Request body

- UsercenterV1CreateUserRequest
  - `username` string
  - `nickname` string
  - `password` string
  - `email` string
  - `phone` string

## Response `200`

OK

- UsercenterV1UserReply
  - `userID` string
  - `username` string
  - `nickname` string
  - `password` string
  - `email` string
  - `phone` string
  - `secrets` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Changes

- **2024-04-03** `ae599f31f558` — 11 info
  - api operation id `MiniBlog_CreateUser` removed and replaced with `UserCenter_CreateUser`
  - api tag `UserCenter` added
  - api tag `MiniBlog` removed
  - added the optional property `createdAt` to the response with the `200` status
  - …7 more

[Change history](https://skmtc.dev/onexstack/apis/miniblog-api/changes/v1/users/post.md)

---

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