> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exode.biz/llms.txt
> Use this file to discover all available pages before exploring further.

# Сессия

> Структура объекта сессии (session), возвращаемого при выдаче токена авторизации

Объект `session` описывает сессию пользователя. Возвращается методом
[`user/session/auth-token`](/ru/exode-api/school/user/session/auth-token).

<Info>
  Приватные поля (IP, геолокация, user-agent, FCM-токен) в публичной схеме не возвращаются.
</Info>

## Поля `session`

<ResponseField name="id" type="integer" required>ID сессии.</ResponseField>
<ResponseField name="uuid" type="string" required>UUID сессии.</ResponseField>
<ResponseField name="userId" type="integer | null">ID пользователя сессии.</ResponseField>
<ResponseField name="deviceUuid" type="string" required>UUID устройства.</ResponseField>
<ResponseField name="token" type="string" required>Токен сессии для авторизации пользователя.</ResponseField>
<ResponseField name="alive" type="boolean" required>Сессия активна (не завершена).</ResponseField>
<ResponseField name="isOnline" type="boolean" required>Пользователь сейчас онлайн в этой сессии.</ResponseField>
<ResponseField name="launcher" type="string" required>Источник запуска сессии.</ResponseField>
<ResponseField name="appLocation" type="string | null">Текущая локация в приложении.</ResponseField>
<ResponseField name="appLocationParams" type="object">Параметры локации (произвольный объект).</ResponseField>
<ResponseField name="appVersion" type="string | null">Версия приложения.</ResponseField>
<ResponseField name="language" type="enum | null">Язык: `Ru`, `Uz`, `En`, `Qa`.</ResponseField>
<ResponseField name="timezone" type="integer | null">Часовой пояс (смещение от UTC в часах).</ResponseField>
<ResponseField name="lastActivityAt" type="string | null">Последняя активность (ISO 8601).</ResponseField>
<ResponseField name="expireAt" type="string | null">Дата истечения сессии (ISO 8601).</ResponseField>
<ResponseField name="createdAt" type="string" required>Дата создания (ISO 8601).</ResponseField>
<ResponseField name="updatedAt" type="string" required>Дата обновления (ISO 8601).</ResponseField>
<ResponseField name="archivedAt" type="string | null">Дата архивации или `null`.</ResponseField>
