v1
latestOpenAPI 3.1.02026-07-2414238909.1 KBSend a Viber Verification Message (OTP)
After authentication, you can make a request to the Viber OTP endpoint to send an OTP.
post/viber/otp
Headers
Authorizationstring required
Bearer {access_token}
Content-Typestring required
application/json
Request body
Response
200
Example response
{
"trackingId": "b5sdfeae10-ccc3-4ef1-88f7-1f1asdfea6c9",
"to": "+923248495005",
"from": "Routee Test 2 way",
"country": "PK",
"status": {
"status": "QUEUED",
"date": "2025-01-23T13:41:16.254+02:00"
},
"applicationName": "default",
"direction": "Outbound",
"ttl": 60,
"seq": 1234,
"label": "transactional",
"type": "PRIMARY_ONLY",
"templateId": "0aac888f-2ee2-4112-9659-1755a951966a",
"templateParams": {
"pin": "4523"
},
"templateLang": "en"
}