---
title: "发送验证码"
method: POST
path: "/v1/account/verification/send"
tags: ["AccountService"]
---

# 发送验证码

`POST /v1/account/verification/send`

向手机号或邮箱发送 6 位数字验证码（5 分钟有效，同一目标 60 秒内只能发送一次）。
公开接口，无需登录。type=phone 需管理端已启用短信服务（阿里云）；type=email 需已配置 SMTP。

## Request body

- object
  - `target` string, required — 手机号（type=phone）或邮箱地址（type=email）
  - `type` 'phone' | 'email', required — 验证码类型：phone 短信验证码 / email 邮箱验证码

## Response `200`

OK

- object
  - `message` string
  - `success` boolean

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
