---
title: "UserRegisterByEmail"
method: POST
path: "/answer/api/v1/user/register/email"
tags: ["User"]
---

# UserRegisterByEmail

`POST /answer/api/v1/user/register/email`

UserRegisterByEmail

## Request body

- SchemaUserRegisterReq
  - `captcha_code` string
  - `captcha_id` string
  - `e_mail` string, required
  - `name` string, required
  - `pass` string, required

## Response `200`

OK

- object
  - `code` integer — http code
  - `data` object — response data
    - `access_token` string — access token
    - `answer_count` integer — answer count
    - `authority_group` integer — authority group
    - `avatar` string — avatar
    - `bio` string — bio markdown
    - `bio_html` string — bio html
    - `color_scheme` string — Color scheme
    - `created_at` integer — create time
    - `display_name` string — display name
    - `e_mail` string — email
    - `follow_count` integer — follow count
    - `have_password` boolean — user have password
    - `id` string — user id
    - `language` string — language
    - `last_login_date` integer — last login date
    - `location` string — location
    - `mail_status` integer — mail status(1 pass 2 to be verified)
    - `mobile` string — mobile
    - `notice_status` integer — notice status(1 on 2off)
    - `question_count` integer — question count
    - `rank` integer — rank
    - `role_id` integer — role id
    - `status` string — user status
    - `suspended_until` integer — suspended until timestamp
    - `username` string — username
    - `visit_token` string — visit token
    - `website` string — website
  - `msg` string — response message
  - `reason` string — reason key

---

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