---
title: "Creation of user"
method: POST
path: "/v2/user"
tags: ["user"]
---

# Creation of user

`POST /v2/user`

Creates user with the following fields: email, password, fullName, output http code 200 and json response

## Request body

- BluenteInternalUserModelUserCreationRequestV2
  - `country_code` string
  - `email` string, required
  - `fullName` string, required
  - `invite_code` string
  - `need_email_verify` integer — only after email verification requirement is implemented
  - `page` string
  - `password` string, required
  - `platform` string
  - `status` string
  - `type` string

## Response `200`

success, the list in Data is UserCreationResponse

- object
  - `code` integer — 0=success，only parse data when code=0
  - `data` object — real data
    - `activated` integer — determines if the user account is activated by email
    - `app_id` integer — Bluente=10000, inlingua=10001
    - `created_at` BluenteInternalCourseV2ModelCustomTime
      - `time.Time` string
    - `email` string — user registered email
    - `fullname` string — user nickName
    - `hashed_password` string — user hashed password
    - `id` integer
    - `last_login` BluenteInternalCourseV2ModelCustomTime
      - `time.Time` string
    - `role` string — role type of this user
    - `status` string — account status of this account
    - `type` string — the account sources
    - `updated_at` BluenteInternalCourseV2ModelCustomTime
      - `time.Time` string
    - `user_id` string — user uuid created in mongodb
  - `message` string — tip message

---

[API](https://skmtc.net/bluente/apis/bluente-api.md) · [All operations](https://skmtc.net/bluente/apis/bluente-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluente/bluente-api/revisions/5c90e58bf672/schema)
