You can update phone number details from the dashboard.(1) After a number is purchased, you can change its nickname to make it easier to find and identify.(1)
You can also update phone numbers programmatically using the Update Phone Number API.(2) The API allows you to modify:
inbound_agent_id- agent for receiving inbound calls(2)outbound_agent_id- agent for making outbound calls(2)inbound_agent_versionandoutbound_agent_version(2)nickname- for your reference(2)inbound_webhook_url- for overriding agent settings on inbound calls(2)allowed_inbound_country_listandallowed_outbound_country_list- ISO 3166-1 alpha-2 country codes(2)- SIP trunk configuration including
termination_uri,auth_username,auth_password, andtransport(2)