1. Authentication
pws-shop-api
  • Authentication
    • Send verification code for registration
      POST
    • Send verification code for password reset
      POST
    • Register a new user
      POST
    • Login user
      POST
    • Reset password
      POST
  • 数据模型
    • SendVerificationCodeRequest
    • RegisterRequest
    • LoginRequest
    • LoginResponse
    • ResetPasswordRequest
  1. Authentication

Send verification code for password reset

POST
/auth/send-reset-verification-code
Send a verification code to the user's email for password reset purposes

请求参数

Body 参数application/json必填

示例
{
    "email": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://pwshop-api.smooretechtest.com/api/auth/send-reset-verification-code' \
--header 'Content-Type: application/json' \
--data '{
    "email": "string"
}'

返回响应

🟢200
application/json
Verification code sent successfully
Bodyapplication/json

示例
{
    "message": "Verification code sent"
}
🟠400
🔴500
修改于 2026-05-29 08:18:41
上一页
Send verification code for registration
下一页
Register a new user
Built with