List phone numbers
Changed onReturns a paginated list of the phone numbers owned by the authenticated account.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/numbers
- AuthHTTP bearer
Query parameters
Filters numbers by the ID of their city or rate center.
Filters numbers by a full or partial phone number.
Filters numbers by label.
When true, returns only numbers that have a label; when false, only numbers without one.
Page number to retrieve. Default 1.
Number of records to return per page. Default 25.
Response
Returns a paginated list of phone numbers.
Example response
{
"items": [
{
"id": 123,
"number": "12565378257",
"activation_fee": "0.99",
"monthly_fee": "0.99",
"per_min": "0.01",
"city": "DETROIT, MI",
"country": "United States",
"country_short_name": "US",
"destination": [
{
"id": 1,
"destination": "[did]@sipuri.com",
"priority": 1,
"trunk_id": 23123,
"trunk_label": "My trunk"
}
],
"channels": 24,
"require_docs": [
"address"
],
"documents": [
{
"id": 423,
"allow_replace": false,
"did_number": "12565378257",
"doc_content_type": "image/png",
"doc_file_name": "Copy of ID.png",
"doc_type": "id",
"status": "approved",
"url": "https://api.wavix.com/v1/numbers/24882/papers/1"
}
],
"added": "2023-04-10T06:42:59.000Z",
"paid_until": "2023-12-07",
"sms_relay_url": "https://your-website.com/webhook",
"cnam": true,
"call_recording_enabled": true,
"transcription_enabled": true,
"transcription_threshold": 6,
"call_status_url": "https://example.com"
}
],
"doc_types": [
{
"id": 2,
"title": "Proof of address"
}
],
"pagination": {
"current_page": 2,
"per_page": 25,
"total": 101,
"total_pages": 5
}
}Changes
- breaking
removed the required property
////from the response with the status - warning
added the new
addressenum value to the//response property for the response status - warning
added the new
addressenum value to the///response property for the response status - warning
added the new
idenum value to the//response property for the response status - warning
added the new
idenum value to the///response property for the response status - warning
added the new
localaddressenum value to the//response property for the response status - warning
added the new
localaddressenum value to the///response property for the response status - info
added the required property
////to the response with the status
- breaking
- info
added the non-success response with the status
- info
added the non-success response with the status
- info