文档
创建帐户
zh
English
Deutsch
Русский
한국어
中文(简体)
Español
Français
Português
日本語
Request to link phone number to the user as a new method of authorization
Client-side
post
/users/me/phone_link/request
Try it
Call the method /users/me/phone_link/request
Put your phone number in the body of the request
Then u will receive the sms code
Call method /users/me/phone_link/confirm with the code
Security
Bearer
Request
Request Body schema:
application/json
phone_number
required
string
Responses
200
确定
400
错误的请求
401
被禁止
404
未找到
422
(不可处理的实体)请求中存在语义错误
Request samples
Payload
Curl
JavaScript
Node.js
Python
C#
Go
Java
6 more
JavaScript
Node.js
Python
C#
Go
Java
6 more
application/json
Copy
{
"phone_number"
:
"+1234567890"
}
Response samples
200
400
401
404
422
3 more
401
404
422
3 more
application/json
Copy
{
"operation_id"
:
"string"
}