Phone Numbers
Update phone number
Update a phone number's nickname
On this page
This endpoint updates the editable attributes of a phone number you own. Currently this is the nickname — a short, human-friendly label (e.g. "Sales line", "Support — US") shown next to the number across the dashboard.
Only the owner of the number can update it. Numbers shared with you (granted) display the nickname but cannot be changed by you.
Path Parameters
idintegerrequired
The unique identifier of the phone number to update
Body Parameters
nicknamestring
A short label for the phone number. Maximum 50 characters. Send null or an empty string to clear it.
Response
messagestring
Success message
dataobject
The updated phone number
{
"message": "Phone number updated successfully.",
"data": {
"id": 1,
"phone_number": "+14155551234",
"nickname": "Sales line",
"country_code": "US",
"type": "normal"
}
}
{
"error": "Phone number not found."
}
{
"message": "The nickname must not exceed 50 characters.",
"errors": {
"nickname": ["The nickname must not exceed 50 characters."]
}
}
The nickname is the same label you can set in the dashboard. It is returned by the phone number listing endpoints (GET /user/phone-numbers/all, GET /user/phone-numbers/sip-trunks), so other resources that reference a number by phone_number_id can resolve its nickname from there.
Related guides
Phone Numbers
Types of Phone Numbers
Learn about the different types of phone numbers you can use with VoxLink.ai: dedicated numbers, SIP integration, and Caller ID
Read guide →Phone Numbers
Purchasing & Managing Numbers
Learn how to purchase, provision, and manage phone numbers for your AI assistants
Read guide →Phone Numbers
SMS Capabilities
Learn about SMS features, requirements, and pricing for your phone numbers
Read guide →Phone Numbers
Assigning Numbers to Assistants
Learn how to connect your phone numbers to AI assistants for both inbound and outbound calls
Read guide →