curl --request GET \
--url 'https://api.wavix.com/v1/mydids?appid='{
"items": [
{
"id": 123,
"number": "12565378257",
"activation_fee": "0.99",
"monthly_fee": "0.99",
"per_min": "0.0059",
"city": "DETROIT, MI",
"country": "United States",
"country_short_name": "US",
"destination": [
{
"id": 1,
"destination": "[did]@sipuri.com",
"priority": 1,
"transport": 1,
"trunk_id": 23123,
"trunk_label": "My trunk",
"srtp": false
}
],
"channels": 24,
"require_docs": [
"1"
],
"documents": [
{
"id": 423,
"allow_replace": false,
"did_number": "12565378257",
"doc_content_type": "image/png",
"doc_file_name": "Copy of ID.png",
"doc_type_id": 1,
"status": "approved",
"url": "https://api.wavix.com/v1/mydids/24882/papers/1"
}
],
"domestic_cli": true,
"label": "<string>",
"status": "<string>",
"seconds": "<string>",
"added": "2023-04-10T06:42:59.000Z",
"paid_until": "2023-12-07T00:00:00.000Z",
"sms_enabled": false,
"sms_relay_url": "https://your-website.com/webhook",
"cnam": true,
"call_recording_enabled": true,
"transcription_enabled": true,
"transcription_threshold": 6,
"state": "<string>",
"free_min": 123,
"unlimited": true,
"call_status_url": "https://example.com"
}
],
"doc_types": [
{
"id": 2,
"name": "address",
"title": "Proof of address"
}
],
"pagination": {
"current_page": 2,
"per_page": 25,
"total": 101,
"total_pages": 5
}
}Use this method to list phone numbers on your account. By default, results are paginated with 25 records per page.
curl --request GET \
--url 'https://api.wavix.com/v1/mydids?appid='{
"items": [
{
"id": 123,
"number": "12565378257",
"activation_fee": "0.99",
"monthly_fee": "0.99",
"per_min": "0.0059",
"city": "DETROIT, MI",
"country": "United States",
"country_short_name": "US",
"destination": [
{
"id": 1,
"destination": "[did]@sipuri.com",
"priority": 1,
"transport": 1,
"trunk_id": 23123,
"trunk_label": "My trunk",
"srtp": false
}
],
"channels": 24,
"require_docs": [
"1"
],
"documents": [
{
"id": 423,
"allow_replace": false,
"did_number": "12565378257",
"doc_content_type": "image/png",
"doc_file_name": "Copy of ID.png",
"doc_type_id": 1,
"status": "approved",
"url": "https://api.wavix.com/v1/mydids/24882/papers/1"
}
],
"domestic_cli": true,
"label": "<string>",
"status": "<string>",
"seconds": "<string>",
"added": "2023-04-10T06:42:59.000Z",
"paid_until": "2023-12-07T00:00:00.000Z",
"sms_enabled": false,
"sms_relay_url": "https://your-website.com/webhook",
"cnam": true,
"call_recording_enabled": true,
"transcription_enabled": true,
"transcription_threshold": 6,
"state": "<string>",
"free_min": 123,
"unlimited": true,
"call_status_url": "https://example.com"
}
],
"doc_types": [
{
"id": 2,
"name": "address",
"title": "Proof of address"
}
],
"pagination": {
"current_page": 2,
"per_page": 25,
"total": 101,
"total_pages": 5
}
}An API key to authorize your request
Filter numbers by city or rate center.
123
Filter numbers by digits in the phone number. You can provide a full number or part of it.
"256537"
Filter phone numbers by label. Only exact matches are returned.
"ALEX"
If true, returns only phone numbers with a label. If false, returns only phone numbers without a label. When this parameter is used, the label parameter is ignored.
true
Requested page
2
The number of records per page
50
A list of phone numbers on the account
Show child attributes
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
Show child attributes
Unique identifier of the inbound call destination
1
The destination for inbound call routing. Can be either a SIP URI, a PSTN phone number or system-generated login of a SIP trunk on the platform.
"[did]@sipuri.com"
For DIDs with several destinations, sets the order of the destination the platform routes inbound calls to. The lesser the value, the higher the priority is.
1
Inbound call transport
1, 4, 5 Unique identified of a SIP trunk on the platform. In cases when transport:5, otherwise, null
23123
A user-defined name of a SIP trunk on the platform. In cases when transport:5, otherwise, null
"My trunk"
false
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
Show child attributes
Unique identifier of the uploaded document
1
Indicates if the document can be replaced. You can only replace documents with rejected status.
false
The phone number the document was uploaded for
"12565378257"
The uploaded content type identified by the platform
"image/png"
The uploaded document name
"Copy of ID.png"
Specifies the type of document required to activate the phone number.
Possible values are: 1 - Proof of identity, 2 - Proof of address, 3 - Proof of business registration.
1, 2, 3 Status of the uploaded document. Can be either approved, pending, or rejected
A link to the uploaded document
"https://api.wavix.com/v1/mydids/24882/papers/1\""
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"
A list document types required to activate a phone number
Show child attributes
Current page number
2
Number of records per page
25
Total number of records
101
Total number of pages
5
Was this page helpful?