Verify an approval
POST https://api-authenticator.iwelcome.com/v1/sms/approvals/verify
Headers:
Authorization: Bearer {your application API Key}
Content-Type: application/json
ip (ip) - The IP address of
phone_number (international format phone number, required). The receiving number of the sms token.
id (string, required if no phone_number is provided) - The id of the approval to be validated.
token (string, required) - The token to be validated
{
"type": "api.application.approval.sms.verify",
"result": {
"id": "7cd15432-3d79-480f-bf89-5b740e96a3e1-5KQJbJTi",
"status": "VERIFIED",
"ip": "5.2.192.253",
"ip_device": "5.2.192.253",
"user_agent": "Mozilla 22.33",
"country": "RO",
"region": "13",
"feedback_at": "2018-01-19T13:33:05.063Z",
"expire_at": "2018-01-19T13:33:47.000Z",
"created_at": "2018-01-19T13:32:47.000Z",
"application_id": "5763",
"provider": {
"id": "6b74e9b3207b47fb89be94676tqjl5PR",
"type": "NEXMO"
},
"template_id": "0994c058cb6d4627b0776915R9JgnHg3",
"template_message_id": "5d3ee937d3f44cf9badf66ffRgxI2XHB"
}
}
Have a question? You can always send us an email at support@unloq.io, or contact us on chat.
For security related concerns, please visit our Security page.