Get Session
GET/admin/sessions/:id
This endpoint is useful for:
Getting a session object with all specified expandables that exist in an administrative context.
SDK ReferenceTypeScript
getSession()| Parameters | Type | Required | Description |
|---|---|---|---|
| id | string | required | ID is the session's ID. |
| expand | Array<'identity' | 'devices' | '11184809'> | optional | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped. |
| Variable | Type |
|---|---|
| data | Session |