Phone numbers
Update a phone number
Updates a phone number's details.
patch/phone_numbers/{id}
Path parameters
idstring required
The ID of the phone number to update.
Example:pn_01jsjwe4d9fx3tpymgtg958d9w
Request body
Example request
{
"campaign_id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
"name": "Letty's Main Line"
}Response
Updated phone number
Example response
{
"campaign": {
"attachment_status": "attached",
"id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2"
},
"campaign_id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
"id": "pn_01jsjwe4d9fx3tpymgtg958d9w",
"name": "(801) 555-1234",
"number": "+18015551234",
"type": "local"
}