# Get all phone numbers Get all phone numbers. You can filter and sort the phone numbers returned with paging. Endpoint: GET /phoneNumbers Version: 1.0.0 Security: Basic, OAuth2.0 ## Query parameters: - `filter` (string) A query string to filter the results by. - `sipTrunkIdQuery` (integer) The ID of the SIP trunk to search for. - `page` (integer) The page you want to fetch, can set to 1 for first page, or omitted for first page - `pageSize` (integer) The size of each page to fetch - `sort` (array) An array setting the sorting criteria in the format of ## Response 200 fields (application/json): - `totalItems` (integer) Total size of the result. Example: 10000 - `pageNumber` (string) The token to be used for listing the next page Example: "1" - `pageSize` (integer) The number of items per page. default is 1000 Example: 2000 - `phoneNumbers` (array) - `phoneNumbers.id` (string) The ID of the phone number. Example: "01ARZ3NDEKTSV4RRFFQ69G5FAV" - `phoneNumbers.sipTrunkId` (string) The ID of the SIP trunk to which the phone number is assigned. Example: "5RTRZ3NDEKTSV4RRFFQ69G5EWS" - `phoneNumbers.phoneNumber` (string) A Sinch phone number on your account and configured for Elastic SIP Trunking. Example: "+15551239898" - `phoneNumbers.countryCode` (string) The country code of the phone number in ISO 3166-1 alpha-2 format. Example: "US" - `phoneNumbers.createTime` (string) The date and time that the number was assigned to the SIP trunk. Example: "2022-01-01T00:00:00Z" - `phoneNumbers.updateTime` (string) The date and time that the phone number was last modified. Example: "2022-01-01T00:00:00Z"