Авторизации по номеру телефона
POST
/waInstance{{idInstance}}/getAuthorizationCode/{{apiTokenInstance}}Документация getAuthorizationCode
Request
Body Params application/json
phoneNumber
integer
required
Example
{
"phoneNumber": 79001234567 //Номер телефона в международном формате без + и 00
}
Request samples
Responses
getAuthorizationCode(200)
getAuthorizationCode
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
boolean
required
code
string
required
ExamplegetAuthorizationCode
{
"status": true,
"code": "GAPI2015"
}
Last modified: 18 days ago