---
title: "OAuth2 Token Introspection (RFC 7662)"
method: POST
path: "/oauth2/introspect"
tags: ["session"]
---

# OAuth2 Token Introspection (RFC 7662)

`POST /oauth2/introspect`

Introspect a token to determine its current state and metadata.

## Response `200`

Token introspection response

- OAuth2IntrospectResponse
  - `active` boolean, required
  - `scope` string
  - `client_id` string
  - `sub` string
  - `exp` integer
  - `iat` integer
  - `iss` string
  - `token_type` string

## Other responses

- `default` — OAuth2 error response

---

[API](https://skmtc.net/nhost/apis/nhost-authentication-api.md) · [All operations](https://skmtc.net/nhost/apis/nhost-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nhost/nhost-authentication-api/revisions/a5c0d88b55c4/schema)
