# getAppList method

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

qlik.getAppList(callback, config)

Gets a list of Qlik Sense apps that you potentially can connect to and registers a callback to receive the data.

The getAppList method opens a WebSocket, gets the app list, and then closes the WebSocket.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | 1.0 |
| Updated | 1.1 |

## Parameters

### callback

Type: Function

Callback method.

### config

Type: Object

Optional.

Additional configuration parameters:

Configuration parameters

| Name | Type | Descr |
| --- | --- | --- |
| host | String | Optional.<br><br>Qlik host. |
| port | String or integer | Optional.<br><br>Port number. |
| prefix | String | Optional.<br><br>Qlik virtual proxy. "/" if no proxy. |
| isSecure | Boolean | Optional.<br><br>Use SSL. |
| openWithoutData | Boolean | Optional.<br><br>Open app without loading data.<br><br>Introduced in version 1.1. |
| identity | String | Optional.<br><br>Unique identity for the session. If omitted, the session will be shared. |

## Example

```
var config = {
		host: "myhost.com",
		prefix: "/",
		port: window.location.port,
		isSecure: true
	};
	qlik.getAppList(function(list){
		var str = "";
		list.forEach(function(value) {
			str +=  value.qDocName + '('+ value.qDocId +') ';
		});
		alert(str);
	}, config);
```

Tip noteSee Loading external and internal modules for more example of use.

## Learn more

* [openApp method](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/RootAPI/openApp-method.htm)