# Add session

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

## Path

/qps/{virtual proxy/}session

## Method

POST

## Description

This adds a new proxy session. Include the session to create in the HTTP body:

```
{
  "UserDirectory": "<user directory>",
  "UserId": "<unique user id>",
  "Attributes":
    [ { "<Attribute1>": "<value1a>" },
        { "<Attribute1>": "<value1b>" }, [attributes are not unique]
        { "<Attribute2>": "" }, [value can be empty]
        { "<Attribute3>": "<value3>" },
        ...
    ] [optional],
  "SessionId": "<session id>"
}
```

## Learn more

* [Add session](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/ProxyServiceAPI/Content/Sense_ProxyServiceAPI/ProxyServiceAPI-Session-Module-API-Session-Add.htm)