Phone Numbers

Create Phone Number

Add a phone number to an account.

post/v4/accounts/{voip_id}/phone-numbers

Request

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

Path parameters

voip_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

Created

object required

Changes

No operation changes recorded.