---
title: "Verify a token"
method: POST
path: "/api/token/verify/"
tags: ["token"]
---

# Verify a token

`POST /api/token/verify/`

## Request

- Base URL: `https://docs.blindinsight.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.blindinsight.io/api/token/verify/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/docs/api/token/verify/post.ts> (a function with typed inputs; its response is checked against the schema)

Verify an access or refresh token is valid.

The response will be an empty object if it is valid, or a 401 unauthorized error
if it is not.

**On the command line:**

```bash
blind token verify --data '{"token": "<access-or-refresh-token>"}'
```

## Request body

- TokenVerify
  - `token` string, required

## Response `200`

- TokenVerify
  - `token` string, required

---

[API](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api.md) - [All operations](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/revisions/0ac902401cea?raw)
