List available phone numbers
Changed onReturns a paginated list of phone numbers available for purchase in the specified city.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/buy/countries/{country_id}/cities/{city_id}/dids
- AuthHTTP bearer
Path parameters
The unique ID of the country.
The unique ID of the city.
Query parameters
When true, returns only text-enabled phone numbers.
Page number to retrieve. Default 1.
Number of records to return per page. Default 25.
Response
Returns a paginated list of available phone numbers.
Example response
{
"dids": [
{
"id": 541139862174,
"activation_fee": "15.0",
"monthly_fee": "10.0",
"per_min": "0.01",
"channels": "4",
"city": "Buenos Aires",
"country": "Argentina",
"country_short_name": "AR",
"number": "541139862174",
"require_docs": [
"address"
],
"domestic_cli": true
}
],
"pagination": {
"current_page": 2,
"per_page": 25,
"total": 101,
"total_pages": 5
}
}Changes
- breaking
the
///response's property type changed fromintegertostring, and format fromint32to no format for 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
localaddressenum value to the///response property for the response status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking