Delete phone numbers from a project
Path Parameters
Body
application/json
Body
DeletePhoneNumbersBody
Phone numbers to release in a single call.
Releases are processed independently; see the response for per-number results.
List of phone numbers to delete
>= 1 items
Response
application/json
Response
Successful response
DeletePhoneNumbersResponse
Per-number results of a batch release — phone numbers that were
successfully released, plus any that couldn’t be and why.
Successfully deleted phone numbers
An error encountered while deleting a phone number in a batch.
Show Child Parameters
Authentication
Path Parameters
Body
Batch get phone numbers
Path Parameters
Body
application/json
Body
BatchGetPhoneNumbersBody
Set of E.164 phone numbers to retrieve in a single call.
List of phone numbers to retrieve
>= 1 items
Response
application/json
Response
Successful response
BatchGetPhoneNumbersResponse
Result of a batch phone-number lookup, partitioned into numbers that
were found and numbers that weren’t.
A phone number owned by the project, plus the connector it routes incoming calls to.
Show Child Parameters
Authentication
Path Parameters
Body
Get a specific phone number
Path Parameters
Response
application/json
Response
Successful response
PhoneNumberResponse
A phone number owned by the project, plus the connector it routes incoming calls to.
Phone number in E.164 format
Project this number belongs to
Account this number belongs to
Client environment (sandbox, pre-release, live)
Connector this number is routed to
Authentication
Path Parameters
Import a single phone number
Path Parameters
Body
application/json
Body
ImportPhoneNumberBody
Import settings for a single phone number, including which environment it routes to.
Client environment (sandbox, pre-release, live)
Default:live
Response
application/json
Response
Successful response
ImportPhoneNumberResponse
The phone number that was imported.
The imported phone number
Authentication
Path Parameters
Body
Delete a single phone number
Path Parameters
Response
application/json
Response
Successful response
DeletePhoneNumberResponse
The phone number that was released.
The deleted phone number