---
title: "Validates the current user's session."
method: POST
path: "/api/Auth/validate"
tags: ["Auth"]
---

# Validates the current user's session.

`POST /api/Auth/validate`

## Response `200`

OK

- ValidateResponse
  - `success` boolean, required
  - `errorCode` 0 | 1 | 2 | 3 | 4, required — 0 = Success 1 = InvalidSession 2 = SessionNotFound 3 = ExpiredToken 4 = UnknownError
  - `errorMessage` string
  - `newToken` string

---

[API](https://skmtc.dev/topstepx/apis/projectx-gateway-api.md) · [All operations](https://skmtc.dev/topstepx/apis/projectx-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/topstepx/projectx-gateway-api/revisions/688252f4f704/schema)
