import plivo
client = plivo.RestClient('<Auth>', '<Token>')
response = client.verify_callerids.update_verified_caller_id(phone_number= '+91XXXXXXXXXX', alias='Test update', subaccount= None)
print(response)
{
"alias": "US Mainland secondary",
"api_id": "7f5328d3-7888-48ab-889b-9a60c0c3b9c9",
"country": "US",
"created_at": "2024-02-09T03:52:22.880098Z",
"modified_at": "2024-02-09T04:07:09.954792017Z",
"phone_number": "+12025551XXX",
"subaccount": "",
"verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
}
import plivo
client = plivo.RestClient('<Auth>', '<Token>')
response = client.verify_callerids.update_verified_caller_id(phone_number= '+91XXXXXXXXXX', alias='Test update', subaccount= None)
print(response)
{
"alias": "US Mainland secondary",
"api_id": "7f5328d3-7888-48ab-889b-9a60c0c3b9c9",
"country": "US",
"created_at": "2024-02-09T03:52:22.880098Z",
"modified_at": "2024-02-09T04:07:09.954792017Z",
"phone_number": "+12025551XXX",
"subaccount": "",
"verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
}
https://api.plivo.com/v1/Account/{auth_id}/VerifiedCallerId/{phone_number}
alias(optional) | The friendly name associated with the phone number. |
subaccount(optional) | A valid sub-account Auth ID. |
import plivo
client = plivo.RestClient('<Auth>', '<Token>')
response = client.verify_callerids.update_verified_caller_id(phone_number= '+91XXXXXXXXXX', alias='Test update', subaccount= None)
print(response)
{
"alias": "US Mainland secondary",
"api_id": "7f5328d3-7888-48ab-889b-9a60c0c3b9c9",
"country": "US",
"created_at": "2024-02-09T03:52:22.880098Z",
"modified_at": "2024-02-09T04:07:09.954792017Z",
"phone_number": "+12025551XXX",
"subaccount": "",
"verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
}