# iOS 26 Compatible Devices (Query)

## Description

Details on identifying compatible devices for iOS 26 using the Command Line API to create a Query in FileWave Central and FileWave Anythere.

<table id="bkmrk-ios-inventory-querie"><tbody><tr style="background-color: rgb(251, 238, 184);"><td>**iOS**

</td></tr><tr><td>Inventory Queries to list device compatibility

</td></tr></tbody></table>

Example query view:

[![image.png](https://kb.filewave.com/uploads/images/gallery/2026-03/scaled-1680-/12AHmQREfHWaJYHN-image.png)](https://kb.filewave.com/uploads/images/gallery/2026-03/12AHmQREfHWaJYHN-image.png)

## Ingredients

- Administrator Application Token (base 64)
- FW Admin Inventory Query

<table id="bkmrk-compatible-query-inc"><tbody><tr style="background-color: rgb(251, 238, 184);"><td>Compatible Query

</td><td>Incompatible Query

</td></tr><tr><td>[ios26\_compatible.json](https://kb.filewave.com/attachments/504)

</td><td>[ios26\_incompatible.json](https://kb.filewave.com/attachments/505)

</td></tr></tbody></table>

## Directions

Requires the creation of [Inventory Queries](https://kb.filewave.com/books/filewave-central-anywhere/page/creating-and-editing-a-query "Creating and Editing a query"). Two queries are available, one listing incompatible devices and one listing compatible devices. To upload the queries involves using the [FileWave Command Line API](https://kb.filewave.com/books/application-programming-interface-api/page/working-with-apis "FileWave Command Line API").

Obtain the Administrator Application Token (base 64), then use the following format to upload each Inventory Query to the server. For example:

- Token(base 64): eaIaY2Q2MjAkLTVmMzItMGU3AC1kYTcyLTU1NLc4NzNlNDc0An0=
- Server Address: mdm.filewave.ch
- File: ios26\_compatible.json

### Command Line API POST

You'll have the downloaded file in the same directory as where you run the below command. The below example uses the ios26\_compatible.json but you can change that easily.

#### Shell Script:

```shell
curl -s -k -H "Authorization: eaIaY2Q2MjAkLTVmMzItMGU3AC1kYTcyLTU1NLc4NzNlNDc0An0=" https://mdm.filewave.ch:20445/inv/api/v1/query/ --header "Content-Type: application/json" -X POST -d @ios26_compatible.json
```

#### PowerShell:

```powershell
$uri = 'https://mdm.filewave.ch:20445/inv/api/v1/query/'
$headers = @{
    'Authorization' = 'eaIaY2Q2MjAkLTVmMzItMGU3AC1kYTcyLTU1NLc4NzNlNDc0An0='
    'Content-Type' = 'application/json'
}
$body = Get-Content -Raw -Path 'ios26_compatible.json'

$response = Invoke-RestMethod -Uri $uri -Headers $headers -Method Post -Body $body

# Process the response as needed
$response

```