发送验证邮件

OpenAPI 契约

方法
POST
路径
/api/v1/auth/email-verification/request
认证
jwtBearer (bearer)
响应状态
202 400 401 403 429 500
请求与响应 Schema
JSON
{
  "requestBody": {},
  "responses": {
    "202": {
      "description": "Verification email queued",
      "content": {
        "application/json": {}
      }
    },
    "400": {
      "description": "Invalid request",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/RequestError"
        }
      }
    },
    "401": {
      "description": "Authentication required or invalid",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "403": {
      "description": "Authenticated but not permitted",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "500": {
      "description": "Unexpected server error",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

POST /api/v1/auth/email-verification/request 仅限 JWT。通过 Authorization: Bearer <access token> 发送当前 JWT。验证邮件进入队列后,服务返回 HTTP 202 和确认消息。nfy_ 自动化密钥不能调用此接口。

发送与注册邮件共享 60 秒冷却期和每 24 小时最多五封邮件的限制。收到 HTTP 429 时应遵守 Retry-After。未验证账户可以登录并使用已有余额;免费 NCU 需要先完成验证。服务管理员必须启用邮件验证功能。