Register

注册账号:校验密码长度 -> 图形验证码 -> 邮箱验证码 -> 建号并记录风控。

返回:成功时回传 user_id / api_key / mcp_key;各类失败返回带 sub_code 的 error。 副作用:写库(建 User、last_lang、风控事件/画像)、写 Redis(消费验证码)。 注意:注册成功后不会自动登录、不下发 session cookie,前端需要再调一次 /login。

post/auth/register

Request

  • Base URL: https://api.twtapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.twtapi.com/auth/register
  • Auth: none declared

Query parameters

langstring

Request body

emailstring required
passwordstring required
captchastring required
email_codestring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.