curl -X GET "https://api.example.com/api/v1/phone_numbers/unassigned" \
-H "X-API-Key: your-api-key-here"
const response = await fetch('https://api.example.com/api/v1/phone_numbers/unassigned', {
method: 'GET',
headers: {
'X-API-Key': 'your-api-key-here'
}
});
const data = await response.json();
import requests
headers = {
'X-API-Key': 'your-api-key-here'
}
response = requests.get(
'https://api.example.com/api/v1/phone_numbers/unassigned',
headers=headers
)
data = response.json()
{
"status": {
"code": 200,
"message": "Unassigned phone numbers retrieved successfully"
},
"data": [
{
"phone_number": "+1987654321",
"friendly_name": "(987) 654-3210",
"region": "US",
"country_code": "US"
}
]
}
Phone Numbers
