通过用户手机号和验证码开始认证并将验证码发送至其手机号码。验证码有效期为3分钟。
此调用仅可与通过手机号码完成认证调用一起使用。
使用此调用的工作流如下:
send_link
为true
,则在此请求之后,您应该发送获取验证码请求,使短信包含验证码和链接。
b. 如果参数send_link
为false
或未传入,则短信将仅包含验证码。projectId required | string <uuid> 发布商帐户中的登录管理器项目ID。 |
login_url | string URL to redirect the user to after account confirmation, successful authentication, two-factor authentication configuration, or password reset confirmation. Must be identical to the Callback URL specified in the URL block of Publisher Account. For the scenario of a login error, the value should be identical to the the Error callback URL specified in the URL block of Publisher Account. To find the settings, go to Login > your Login project and select the Callback URLs section in the upper block. Required if there are several Callback URLs. |
payload | string Your custom data. The value of the parameter will be returned in the |
with_logout | string Default: "0" 显示是否停用现有用户JWT值并激活此调用生成的值。可以是以下值:
|
确定
未找到
无法处理的实体
请求过多
{- "phone_number": "string",
- "send_link": true
}
{- "operation_id": "string"
}