auth

Login Send Code

邮箱验证码登录 — 第一步:发送登录验证码到邮箱。

🔴 人机验证:必须携带 verify_token(通过滑块拼图验证获得)。 无 verify_token 或 token 无效/过期 → 拒绝发送验证码。 防止 AI Agent 绕过前端直接调用 send-code 接口。

适用于控制台 Web UI:用户输入邮箱+验证码, 后端自动判断注册或登录(见 POST /api/v1/auth/login)。

post/api/v1/auth/login/send-code

Request

  • Base URL: https://api.ticktest.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.ticktest.cn/api/v1/auth/login/send-code
  • Auth: none declared

Request body

emailstring required

注册时使用的邮箱

verify_tokenstring nullable

人机验证令牌(必填,须先完成滑块拼图验证)

Response

Successful Response

statusstring required
messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.