---
title: "Server-to-server: validate a session token; returns { ok, identityId }."
method: POST
path: "/auth/verify-session"
tags: ["auth"]
---

# Server-to-server: validate a session token; returns { ok, identityId }.

`POST /auth/verify-session`

## Request

- Base URL: `https://obeliskgate.com`
- URL: `https://obeliskgate.com/auth/verify-session`
- Auth: none declared

## Request body

- object
  - `token` unknown

## Response `200`

Success.

## Other responses

- `default`: Error — { ok:false, reason:<code>, message?:<human> } on failures; HTTP status mirrors it.

---

[API](https://skmtc.dev/obeliskgate/apis/obelisk-api.md) · [All operations](https://skmtc.dev/obeliskgate/apis/obelisk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/obeliskgate/apis/obelisk-api/revisions/b99b2069699b?raw)
