Skip to main content

Overview

Binds a phone number using an SMS verification code.

Request

Authentication: Add authentication headers to the request. See Authentication

Method: POST

Rate limit: 100 requests/second

Endpoint: https://API domain/jim/users/bindphone

Content-Type: application/json

Request parameters

ParameterData typeRequiredDescription
phonestringYesPhone number
codestringYesVerification code

Request example

POST /jim/users/bindphone HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"phone":"13812345678",
"code":"123456"
}

Response example

{
"code":0,
"msg":"sucess"
}

Response codes

Response codesDescription