# Add load balancing priority

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

## Path

[load\_balancing\_module\_root]/loadbalancing/prioritize

## Method

POST

## Description

This prioritizes Qlik Sense Engine Services (QESs) for a user and an app. Use JSON in the following format in the HTTP body:

```
Qlik Sense app name >",
  "QlikSenseEngines": 
    ["<engine uri 1>",
      <engine uri 2>",
        ...
    ]
}
{
  "AppName": "<
```

The Load balancing module has access to information on the user and the user's security information and session via the HTTP headers X-Qlik-User and X-Qlik-Security.

Based on this information, the Load balancing module makes a decision and returns the prioritized QESs in the same format as in the received HTTP body. The proxy expects `AppName` to be exactly the same in the returned structure.

## Learn more

* [X-Qlik-User header](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/ProxyServiceAPI/Content/Sense_ProxyServiceAPI/ProxyServiceAPI-Injected-Req-Headers-X-Qlik-User.htm)
* [X-Qlik-Security header](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/ProxyServiceAPI/Content/Sense_ProxyServiceAPI/ProxyServiceAPI-Injected-Req-Headers-X-Qlik-Security.htm)