---
title: "Validate token"
method: POST
path: "/accounts/token-validate"
tags: ["Authentication"]
---

# Validate token

`POST /accounts/token-validate`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/token-validate`
- Auth: none required
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/token-validate/post.ts> (a function with typed inputs; its response is checked against the schema)

Validates an authentication or refresh token.

## Request body

- object
  - `token` string, required: Token to validate

## Response `200`

Token validation result

- object
  - `data` boolean, required

## Changes

- **2025-06-12** `4979dfd00eda`: 1 breaking, 1 info
  - the response's body type changed from `boolean` to `object` for status `200`
  - added the required property `data` to the response with the `200` status

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/token-validate/post.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
