import plivo
client = plivo.RestClient('<Auth>', '<Token>')
response = client.verify_callerids.verify_caller_id(verification_uuid="68dea750-5a76-485d-8ac3-5cf5996ba2fb",otp="123456")
print(response)
{
"alias": "US Mainland",
"api_id": "870e2ded-58b0-41bc-8c1c-ba00c6a90741",
"channel": "",
"country": "US",
"created_at": "2024-02-09T03:52:22.880097813Z",
"phone_number": "+12025551XXX",
"verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
}
import plivo
client = plivo.RestClient('<Auth>', '<Token>')
response = client.verify_callerids.verify_caller_id(verification_uuid="68dea750-5a76-485d-8ac3-5cf5996ba2fb",otp="123456")
print(response)
{
"alias": "US Mainland",
"api_id": "870e2ded-58b0-41bc-8c1c-ba00c6a90741",
"channel": "",
"country": "US",
"created_at": "2024-02-09T03:52:22.880097813Z",
"phone_number": "+12025551XXX",
"verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
}
https://api.plivo.com/v1/Account/{auth_id}/VerifiedCallerId/Verification/{verification_uuid}/
otp(Mandatory) | The otp generated for the corresponding verification_uuid |
import plivo
client = plivo.RestClient('<Auth>', '<Token>')
response = client.verify_callerids.verify_caller_id(verification_uuid="68dea750-5a76-485d-8ac3-5cf5996ba2fb",otp="123456")
print(response)
{
"alias": "US Mainland",
"api_id": "870e2ded-58b0-41bc-8c1c-ba00c6a90741",
"channel": "",
"country": "US",
"created_at": "2024-02-09T03:52:22.880097813Z",
"phone_number": "+12025551XXX",
"verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
}