---
title: "Get session information"
method: GET
path: "/sessions/{sid}"
tags: ["Authentication"]
---

# Get session information

`GET /sessions/{sid}`

Returns information about the current session. Use "self" as sid to get current session info.

## Path parameters

- `sid` string, required

## Response `200`

Session information

- NXCSession
  - `server` object
    - `address` string
    - `serverName` string
    - `version` string
    - `color` string
    - `id` integer
    - `timeZone` string
  - `user` object
    - `name` string
    - `id` integer
    - `globalAccessRights` integer
  - `encrypted` boolean
  - `objectsSynchronized` boolean
  - `passwordExpired` boolean
  - `zoningEnabled` boolean

## Other responses

- `401` — Access denied

## Changes

> 15 revisions in range; 11 could not be searched.

- **2023-02-23** `9c09a2aad349` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/netxms/apis/netxms-rest-api/changes/sessions/:sid/get.md)

---

[API](https://skmtc.dev/netxms/apis/netxms-rest-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netxms/netxms-rest-api/revisions/04789afedcb3/schema)
