List active numbers
GET/phone-system/numbers/location/:locationId
List active numbers. With version: v3, the HTTP 200 body is the standard success envelope (status, data, message, statusCode). The v3 list payload is under data; isUnderGhl is renamed to isUnderLc per AIP naming convention.
Request
Send v3 to use the v3 response contract (AIP). This is the supported version value for these endpoints.
v3Location ID as string
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Possible values: >= 1 and <= 1000
The page index. The default is 0.
Possible values: >= 0
Number search Filter
When true, exclude numbers assigned to number pools from the list.
trueInclude RCS Sender IDs
Success envelope; v3 list details are in data (including isUnderLc instead of legacy isUnderGhl).
- application/json
- Schema
- Example (auto)
Schema
Outcome indicator from the shared success helper.
successV3 list payload: numbers, pagination fields, isUnderLc (renamed from isUnderGhl), etc.
Human-readable success message.
HTTP status echoed in the response body.
{
"status": "success",
"data": {
"numbers": [
{
"phoneNumber": "+17745678902",
"friendlyName": "Main line",
"countryCode": "US"
}
],
"isUnderLc": true,
"pageSize": 50,
"page": 0,
"accountStatus": "active",
"total": 1
},
"message": "OK",
"statusCode": 200
}