# Query Params Reference

### Supported Query Parameters

Appetize's App and Embed links can contain several additional query parameters to help customize your experience with your app.

You may see these query parameters in action when you run our [online demo](https://appetize.io/demo), and observe changes to your browser's address bar.

{% code title="Sample Structure" overflow="wrap" %}

```url
https://appetize.io/{app/embed}/{buildId|appId|publicKey}?{queryParameter1}={value1}&{queryParameter2}={value2}
e.g.
https://appetize.io/app/1234?device=pixel4&language=en
```

{% endcode %}

| Query Parameter                                                                     | Sample Values                                                                                                                                                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <h4><strong>device</strong></h4>                                                    | iphone8, iphone11pro, iphone11promax, ipadair2, pixel4, pixel4xl, galaxytabs7                                                                                                                                            | <p>Specifies the device to simulate.<br><br>See <a href="../features/devices-and-os-versions">Devices & OS Versions</a> for more values.</p>                                                                                                                                                                                                                                                                                                                                  |
| <h4><strong>codec</strong></h4>                                                     | h264, jpeg                                                                                                                                                                                                               | Changes the codec used for video streaming.                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <h4><strong>osVersion</strong></h4>                                                 | 11.4, 12.2, 13.3, 14.0                                                                                                                                                                                                   | <p>Specifies the operating system version on which to run the app.<br><br>See <a href="../features/devices-and-os-versions">Devices & OS Versions</a> for more values.</p><p><strong>Note</strong>: It is recommended not to include <code>osVersion</code> as a query parameter when embedding the app, as this will always use our latest default version.</p>                                                                                                              |
| <h4><strong>scale</strong></h4>                                                     | a number between 10 and 100, or `auto`                                                                                                                                                                                   | Adjusts the size of the device shown on the page. `auto` will scale to fit the size of the iframe (embeds only).                                                                                                                                                                                                                                                                                                                                                              |
| <h4><strong>autoplay</strong></h4>                                                  | true, false                                                                                                                                                                                                              | <p>When true, starts streaming the app on page load. Default is <code>false</code><br><br><strong>Note:</strong> If you are making use of our JavaScript SDK, we recommend starting the session programmatically using <code>client.startSession()</code> instead as this may cause the session to start before the SDK is ready.</p>                                                                                                                                         |
| <h4><strong>orientation</strong></h4>                                               | portrait, landscape                                                                                                                                                                                                      | <p>Specifies the device orientation.<br>Default is <code>portrait</code></p>                                                                                                                                                                                                                                                                                                                                                                                                  |
| <h4><strong>centered</strong></h4>                                                  | vertical, horizontal, both                                                                                                                                                                                               | Centers the device (only when embedding).                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <h4><strong>deviceColor</strong></h4>                                               | black, white                                                                                                                                                                                                             | Specifies the color of the device frame.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <h4><strong>screenOnly</strong></h4>                                                | true, false                                                                                                                                                                                                              | <p>When true, only shows the screen, i.e., no device frame.<br>Default is <code>false</code></p>                                                                                                                                                                                                                                                                                                                                                                              |
| <h4><strong>toast</strong></h4>                                                     | top, bottom                                                                                                                                                                                                              | <p>Adjusts the position of Appetize toast messages used for displaying error or info messages.<br>Default is <code>bottom</code></p>                                                                                                                                                                                                                                                                                                                                          |
| <h4><strong>xdocMsg</strong></h4>                                                   | true, false                                                                                                                                                                                                              | <p>When true, enables cross-document messages.<br><br><strong>Note:</strong> It is recommended to rather use our <a href="https://github.com/appetizeio/appetize-docs-gitbook/blob/master/features/broken-reference/README.md">Javascript SDK</a> to interact with the device.</p>                                                                                                                                                                                            |
| <h4><strong>adbShellCommand</strong></h4><p><em>Android only</em></p>               | <p><code>am start -a android.intent.action.VIEW -d <https://appetize.io/></code><br>encoded as<br><code>am%20start%20-a%20android.intent.action.VIEW%20-d%20https%3A%2F%2Fappetize.io%2F</code><br></p>                  | Executes an `adb shell` command on the device.                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <h4><strong>language</strong></h4>                                                  | af-ZA, fr-FR                                                                                                                                                                                                             | Specifies the language of the device via[ ISO 639-1 & BCP 47](https://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android) language codes.                                                                                                                                                                                                                                                                                         |
| <h4><strong>locale</strong></h4><p><em>iOS Only</em></p>                            | en\_GB, fr\_FR                                                                                                                                                                                                           | Specifies the locale of the device via Locale ID.                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <h4><strong>iosKeyboard</strong></h4><p><em>iOS Only</em></p>                       | <p><code>lv\_LV\@sw=QWERTY</code><br>encoded as<br><code>lv\_LV%40sw%3DQWERTY%20</code></p>                                                                                                                              | <p>Specifies the iOS software keyboard to use.<br><a href="https://pgssoft.github.io/AutoMate/Enums/SoftwareKeyboard.html">Available Values</a></p>                                                                                                                                                                                                                                                                                                                           |
| <h4><strong>iosAutocorrect</strong></h4><p><em>iOS Only</em></p>                    | true, false                                                                                                                                                                                                              | <p>Turn on Auto-Correction for iOS.</p><p>Defaults to <code>true</code></p>                                                                                                                                                                                                                                                                                                                                                                                                   |
| <h4><strong>disableVirtualKeyboard</strong></h4><p><em>Android Only</em></p>        | true, false                                                                                                                                                                                                              | <p>When true, disables the on-screen keyboard.<br>Default is <code>false</code></p>                                                                                                                                                                                                                                                                                                                                                                                           |
| <h4><strong>location</strong></h4><p><em>iOS 12+</em><br><em>Android 10+</em></p>   | latitude, longitude, e.g. 39.903924,116.391432                                                                                                                                                                           | Specifies the simulated location of the device.                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <h4><strong>timezone</strong></h4><p><em>Android Only</em></p>                      | `Australia/Adelaide` encoded as `Australia%2FAdelaide`                                                                                                                                                                   | <p>Specifies the URL-encoded timezone of the device.<br><a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Available Values</a></p>                                                                                                                                                                                                                                                                                                                       |
| <h4><strong>grantPermissions</strong></h4>                                          | true, false                                                                                                                                                                                                              | <p>Automatically grant app permissions.<br>See <a href="../features/auto-grant-permissions">Auto-grant Permissions</a>.</p>                                                                                                                                                                                                                                                                                                                                                   |
| <h4><strong>hidePasswords</strong></h4><p><em>Android Only</em></p>                 | true, false                                                                                                                                                                                                              | Hides password visibility when typing.                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <h4>launchApp</h4>                                                                  | `boolean \| string`                                                                                                                                                                                                      | <p>Indicates whether an app launches after installation and allows specifying which installed app to open.<br></p><p><strong>Possible values:</strong></p><ul><li><code>false</code> - Apps install but do not launch.</li><li><code>true</code> or <code>undefined</code> – Default behavior</li><li><code>appId</code> - Launches the app with the specified <a href="../sharing-apps#app-identifier">app Identifier</a> (e.g., <code>com.android.chrome</code>).</li></ul> |
| <h4><strong>launchUrl</strong></h4>                                                 | `https://www.appetize.io` encoded as `https%3A%2F%2Fwww.appetize.io`                                                                                                                                                     | Specifies a deep link to open when the app is launched.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <h4><strong>launchArgs</strong></h4><p><em>iOS Only</em></p>                        | <p><code>\["apple", "banana", "pear"]</code></p><p>encoded as</p><p><code>%5B%22apple%22%2C%20%22banana%22%2C%20%22pear%22%5D</code></p>                                                                                 | Specifies a URL-encoded JSON array of strings to pass when launching the app.                                                                                                                                                                                                                                                                                                                                                                                                 |
| <h4><strong>debug</strong></h4>                                                     | true, false                                                                                                                                                                                                              | <p>When true, allows viewing the debug log for the app.<br>Default is <code>false</code></p>                                                                                                                                                                                                                                                                                                                                                                                  |
| <h4><strong>proxy</strong></h4>                                                     | <p><a href="http://example.com:8080/"><http://example.com:8080/></a></p><p>encoded as</p><p><code>http%3A%2F%2Fexample.com%3A8080%2F</code></p><p><br>For Appetize's intercepting proxy, use <code>intercept</code>.</p> | <p>Specifies a proxy server to route network traffic.</p><p><em><strong>Note</strong>:</em> Our current support is limited to HTTP Proxies. When your app makes HTTPS connections, the data remains encrypted despite the unencrypted connection to the proxy. The app sends a CONNECT request to the proxy for the destination HTTPS server, initiating an SSL handshake. The proxy acts as a TCP connection forwarder, ensuring end-to-end encryption for app data.</p>     |
| <h4><strong>enableAdb</strong></h4><p><em>Android Only</em></p>                     | true, false                                                                                                                                                                                                              | <p>On session start, generates an SSH tunnel to allow ADB connections to the emulator.<br><br>For more information see <a href="../features/advanced-features/android/adb-tunnel">ADB tunnel</a>.</p>                                                                                                                                                                                                                                                                         |
| <h4><strong>record</strong></h4>                                                    | true, false                                                                                                                                                                                                              | Enables recording of all user actions that took place during the session. See [UI Automation](https://docs.appetize.io/features/ui-automation) for more information.                                                                                                                                                                                                                                                                                                          |
| <h4><strong>audio</strong></h4><p><em>Android Only</em></p>                         | true,false                                                                                                                                                                                                               | <p>Enables audio output on the Appetize device.<br><br><strong>Note:</strong> This feature is currently in Alpha and might not always work as expected.</p>                                                                                                                                                                                                                                                                                                                   |
| <h4><strong>androidPackageManager</strong></h4><p><em>Android Only</em></p>         | true, false                                                                                                                                                                                                              | <p>Allows installation of additional APKs after app launch.<br>Default is <code>false</code></p>                                                                                                                                                                                                                                                                                                                                                                              |
| <h4><strong>resetGms</strong></h4><p><em>Android Only</em></p>                      | true, false                                                                                                                                                                                                              | <p>Reset or reinitialize aspects of the Google Messaging Service.<br>Default is <code>false</code></p>                                                                                                                                                                                                                                                                                                                                                                        |
| <h4><strong>region</strong></h4>                                                    | `us`,`eu`                                                                                                                                                                                                                | <p>Ensures that Appetize sessions are launched only from servers in a specific region.</p><p><strong>Note:</strong> It is best to avoid setting this property unless absolutely necessary. Our system automatically directs requests to the closest servers for optimal performance. Using this property could lead to longer queues in busy regions.</p>                                                                                                                     |
| <h4><strong>appearance</strong></h4><p><em>iOS 13+</em><br><em>Android 10+</em></p> | light, dark                                                                                                                                                                                                              | <p>Applies the theme's appearance to the device.<br>Default is <code>light</code></p>                                                                                                                                                                                                                                                                                                                                                                                         |
| <h4><strong>params</strong></h4>                                                    | `{"foo":"bar"}` encoded as `%7B%22foo%22%3A%22bar%22%7D`                                                                                                                                                                 | <p>A URL-encoded JSON object that will be passed to your app on launch. Use this to load custom content, skip onboarding, auto-login the specified user, or custom tracking.<br><br>More info:<br><a data-mention href="../features/launch-params">launch-params</a></p>                                                                                                                                                                                                      |
