Authorizations
An API key to authorize your request
Path Parameters
Phone number ID
123
Body
Turn call recording on or off for the number.
true
Turn transcription on or off for the number.
true
Transcription threshold, in seconds.
30
SMS relay URL for the number. Incoming and MMS messages are sent to this URL as HTTP POST requests. If the number isn't SMS-enabled, setting the sms_relay_url
returns the HTTP 422 Unprocessable Content
error.
To remove inbound message routing for this number, set the value to null
. Messages will then be forwarded only to the sms_relay_url
configured on the account.
"https://you-site.com/sms"
Call status callback URL for the number. Status updates are sent to this URL as HTTP POST requests.
"https://your-site.com/calls"
Response
A phone number on the account
Unique identifier of the DID
123
The phone number
"12565378257"
The phone number activation fee, in USD
"0.99"
Recurring phone number monthly fee, in USD
"0.99"
Price per inbound minute, in USD
"0.0059"
The name of a city or a rate center for the phone number
"DETROIT, MI"
The originating country of the phone number
"United States"
2-letter ISO code of the originating country of the phone number
"US"
Inbound call destinations configured for the phone number
Number of inbound channels on the phone number
24
A list of document required to activate the phone number
["1"]
Documents uploaded for the phone number
Domestic cli
Label assigned to the phone number
Status of the phone number. Can be either active
indicating the phone number is active can can receive inbound calls, or inactive
Duration of all inbound calls to the phone number in the current month, in seconds
Date and time the phone number was added to the account
"2023-04-10T06:42:59.000Z"
The date when the next monthly phone number charge is due
"2023-12-07T00:00:00.000Z"
Indicates if the phone number is SMS-enabled
false
A webhook URL to forward inbound messages to
"https://your-website.com/webhook"
Indicates if CNAM storage is activated for the phone number
true
Indicates if call recording is activated for the phone number. For Flex Pro
accounts only.
true
Indicates if automatic call transcription is activated on the phone number. For Flex Pro
accounts only.
true
The minimal inbound call duration to automatically generate transcription for, in seconds. For Flex Pro
accounts only.
6
Free minute
Call status url
"https://example.com"