Get list of number pools
Autorización
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.
Query parameters
string
default:"ve9EPM428h8vShlRW1KT"
Account ID to filter pools
Respuestas
200 - Successfully retrieved number pools list
Indicates if the request was successful
Array of number pool objects
string
default:"ve9EPM428h8vShlRW1KT"
Unique identifier for the number pool
string
default:"Sales Team Pool"
Human-readable name of the number pool
Account ID this pool belongs to
Phone numbers in this pool
string
default:"+14155552671"
E.164 formatted phone number
string
default:"Sales Line 1"
Human-readable name for the number
string
default:"+14155552671"
Number to forward calls to
Whether whisper is enabled
string
default:"Incoming call from sales line"
Message played during whisper
Whether call recording is enabled
Whether the number pool is active
Inbound call service configuration
Type of inbound call service
string
default:"68e381b296a83800a27cd1"
Service configuration value/ID
Total number of pools returned
400 - Bad request - Invalid account ID or parameters
string
default:"Invalid locationId format"
string
default:"Bad Request"
401 - Unauthorized - Invalid or missing authentication token
403 - Forbidden - Insufficient permissions for this account
Ejemplo