Phone Numbers

Replace Phone Number

Update the settings for an existing phone number on your account.

put/v4/accounts/{voip_id}/phone-numbers/{id}

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/phone-numbers/{id}
  • Auth: HTTP bearer

Path parameters

voip_idinteger required
idinteger required

Request body

namestring nullable

Name

block_incomingboolean nullable

Whether to block incoming calls.

block_anonymousboolean nullable

Whether to block anonymous calls.

reservation_idstring nullable

Reserve phone number ID

phone_numberunknown
record_callsboolean nullable

Record calls (feature needs to be enabled on account level)

Response

OK

object required

Changes

No operation changes recorded.