---
title: "POST /get-session"
method: POST
path: "/get-session"
tags: ["Default"]
---

# POST /get-session

`POST /get-session`

Get the current session

## Request body

- object

## Response `200`

Success

- object, nullable
  - `session` Session, required
    - `id` string
    - `expiresAt` string, date-time, required
    - `token` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `ipAddress` string
    - `userAgent` string
    - `userId` string, required
    - `activeOrganizationId` string
    - `activeTeamId` string
  - `user` User, required
    - `id` string
    - `name` string, required
    - `email` string, required
    - `emailVerified` boolean
    - `image` string
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `isAnonymous` boolean

## Other responses

- `400` — Bad Request. Usually due to missing parameters, or invalid parameters.
- `401` — Unauthorized. Due to missing or invalid authentication.
- `403` — Forbidden. You do not have permission to access this resource or to perform this action.
- `404` — Not Found. The requested resource was not found.
- `429` — Too Many Requests. You have exceeded the rate limit. Try again later.
- `500` — Internal Server Error. This is a problem with the server that you cannot fix.

## Changes

- **2026-03-04** `298877d6a79a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/get-session/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/298877d6a79a/schema)
