Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Get list of number pools
GET https://services.leadconnectorhq.com/phone-system/number-pools
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.
Query parameters
locationId
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
id
string
default:"ve9EPM428h8vShlRW1KT"
Unique identifier for the number pool
name
string
default:"Sales Team Pool"
Human-readable name of the number pool
Account ID this pool belongs to
Phone numbers in this pool
phoneNumber
string
default:"+14155552671"
E.164 formatted phone number
friendlyName
string
default:"Sales Line 1"
Human-readable name for the number
forwardingNumber
string
default:"+14155552671"
Number to forward calls to
Whether whisper is enabled
whisperMessage
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
value
string
default:"68e381b296a83800a27cd1"
Service configuration value/ID
Total number of pools returned
{
"success": true,
"data": [
{
"id": "ve9EPM428h8vShlRW1KT",
"name": "Sales Team Pool",
"locationId": "loc123",
"numbers": [
{
"phoneNumber": "+14155552671",
"friendlyName": "Sales Line 1"
}
],
"forwardingNumber": "+14155552671",
"whisper": true,
"whisperMessage": "Incoming call from sales line",
"callRecording": true,
"isActive": true,
"inboundCallService": {
"type": "voice_ai",
"value": "68e381b296a83800a27cd1"
}
}
],
"total": 1
}
400 - Bad request - Invalid account ID or parameters
message
string
default:"Invalid locationId format"
error
string
default:"Bad Request"
{
"message": "Invalid locationId format",
"error": "Bad Request",
"statusCode": 400
}
401 - Unauthorized - Invalid or missing authentication token
403 - Forbidden - Insufficient permissions for this account
Ejemplo
curl -X GET 'https://services.leadconnectorhq.com/phone-system/number-pools' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28'