Skip to main content
POST
/
api
/
v1
/
auth
/
send-code
发送邮箱验证码
curl --request POST \
  --url https://api.end.shallow.ink/api/v1/auth/send-code \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "type": "register"
}
'

Body

application/json
email
string<email>
required
type
enum<string>
required

验证码类型

Available options:
register,
reset_password,
bind_email

Response

200

验证码已发送(同一邮箱 60 秒内限一次)