---
title: "Validate Session"
method: POST
path: "/users/validate"
tags: ["Users"]
---

# Validate Session

`POST /users/validate`

The Validate endpoint tests whether or not a session is still active.  If it is still active, the Session object is returned.

## Request body

- SessionRequest
  - `key` string — Session key.

## Response `200`

The active Session.

- Session
  - `key` string — Session key.
  - `sAMAccountName` string — The Username of the User logged into this Session.
  - `ipAddress` string — The IP address that created this Session.
  - `expiration` unknown
  - `user` User
    - `sAMAccountName` string — Username of the User.
    - `name` string — Formal name of the User.
    - `email` string — Email address
    - `emailHash` string — An MD5 hash of the User's email address.
    - `distinguishedName` string — LDAP distinguished name.
    - `displayName` string — Display name of the User.
    - `givenName` string — The User's given name.
    - `title` string — The User's current title.
    - `department` string — The User's department.
    - `division` string — The User's division.
    - `firstLogin` unknown
    - `lastLogin` unknown
    - `timesLoggedIn` integer — The number of times this User has logged into Cyclotron.
    - `memberOf` string[] — List of LDAP distinguished names for groups this User is a member of.

## Other responses

- `400` — No session key provided.
- `403` — Session invalid.
- `500` — Server error

---

[API](https://skmtc.dev/expediagroup/apis/cyclotron-api.md) · [All operations](https://skmtc.dev/expediagroup/apis/cyclotron-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/expediagroup/cyclotron-api/revisions/18e751e6bc49/schema)
