Skip to main content

Get Unassigned Phone Numbers

Retrieve phone numbers from your Twilio account that exist but haven’t been assigned to any agent in the application.
curl -X GET "https://api.example.com/api/v1/phone_numbers/unassigned" \
  -H "X-API-Key: your-api-key-here"
{
  "status": {
    "code": 200,
    "message": "Unassigned phone numbers retrieved successfully"
  },
  "data": [
    {
      "phone_number": "+1987654321",
      "friendly_name": "(987) 654-3210",
      "region": "US",
      "country_code": "US"
    }
  ]
}