Skip to main content
Version: v3New

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

version stringrequired

Send v3 to use the v3 response contract (AIP). This is the supported version value for these endpoints.

Available optionsv3
locationId stringrequired

Location ID as string

pageSize number

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Possible values: >= 1 and <= 1000

page number

The page index. The default is 0.

Possible values: >= 0

searchFilter string

Number search Filter

skipNumberPool boolean

When true, exclude numbers assigned to number pools from the list.

Default value:true
includeRcsSenderIds boolean

Include RCS Sender IDs

application/json

Success envelope; v3 list details are in data (including isUnderLc instead of legacy isUnderGhl).

Schema
    statusstringrequired

    Outcome indicator from the shared success helper.

    Available optionssuccess
    dataobjectrequired

    V3 list payload: numbers, pagination fields, isUnderLc (renamed from isUnderGhl), etc.

    messagestringrequired

    Human-readable success message.

    statusCodenumberrequired

    HTTP status echoed in the response body.