Server SDKs
Build AI agents, control calls, send messages, and more
Search for available toll-free phone numbers in a specific country.
format: "uuid"
1{2 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local",3 "available_phone_numbers": [4 {5 "friendly_name": "(253) 218-6751",6 "phone_number": "+12532186751",7 "lata": null,8 "locality": null,9 "rate_center": "AUBURN",10 "latitude": null,11 "longitude": null,12 "region": "WA",13 "postal_code": null,14 "iso_country": "US",15 "capabilities": {16 "voice": true,17 "SMS": true,18 "MMS": true19 },20 "beta": false21 }22 ]23}
1import { RestClient } from "@signalwire/sdk";23const client = new RestClient({4 project: "your-project-id",5 token: "your-api-token",6 host: "your-space.signalwire.com"7});8const numbers = await client.compat.phoneNumbers.searchTollFree("US", { Contains: "800" });