A AuthMS API Wiki API Reference iam.tianv.com →

POST /auth/send-sms-code

向用户手机发送短信验证码,用于手机验证或登录

身份认证 None application/json

Request Body

Schema: dto.SendSMSCodeRequest

FieldTypeRequiredExampleConstraintsDescription
phone string Yes

Responses

StatusDescriptionSchema
200发送成功dto.PhoneVerificationResponse

Referenced Schemas

dto.PhoneVerificationResponse

FieldTypeRequiredExampleConstraintsDescription
expires_in integer No
phone string No