Get Authorization Code
POST
/waInstance{{idInstance}}/getAuthorizationCode/{{apiTokenInstance}}Documentation GetAuthorizationCode
Request
Body Params application/json
phoneNumber
integer
required
Example
{
"phoneNumber": 79001234567 //Phone number in international format without + or 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