---
title: "发送验证码"
method: POST
path: "/auth/send-verify-code"
tags: ["认证管理"]
---

# 发送验证码

`POST /auth/send-verify-code`

向指定的邮箱/Telegram/QQ发送登录验证码

## Request body

- AuthSendVerifyCodeRequest
  - `captcha` string — 图形验证码（可选，根据配置）
  - `captchaId` string — 图形验证码ID（可选，根据配置）
  - `target` string, required — 目标: 邮箱地址/TG用户名或ID/QQ号
  - `type` string, required — 验证码类型: email, telegram, qq

## Response `200`

验证码发送成功

- CommonResponse
  - `code` integer
  - `data` unknown
  - `message` string
  - `msg` string

## Other responses

- `400` — 请求参数错误
- `500` — 服务器内部错误

---

[API](https://skmtc.net/oneclickvirt/apis/oneclickvirt-api.md) · [All operations](https://skmtc.net/oneclickvirt/apis/oneclickvirt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneclickvirt/oneclickvirt-api/versions/1f98232296de/schema)
