> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexslot.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuth 2.0 Token Introspection (RFC 7662)

> Returns the active state and metadata of a token previously issued by this server. Only the issuing client may introspect its own tokens — all other cases return ``{"active": false}``.



## OpenAPI

````yaml /openapi.json post /api/public/v1/oauth/introspect
openapi: 3.0.3
info:
  title: Flexslot API
  version: 1.0.0
  description: API documentation for Flexslot decks application
servers:
  - url: https://api.flexslot.gg
    description: Production
  - url: https://api-dev.flexslot.gg
    description: Development
security: []
paths:
  /api/public/v1/oauth/introspect:
    post:
      tags:
        - OAuth2
      summary: OAuth 2.0 Token Introspection (RFC 7662)
      description: >-
        Returns the active state and metadata of a token previously issued by
        this server. Only the issuing client may introspect its own tokens — all
        other cases return ``{"active": false}``.
      operationId: oauth2_introspect
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/OAuth2IntrospectRequestRequest'
        required: true
      responses:
        '200':
          description: RFC 7662 §2.2 introspection response.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuth2IntrospectError400'
          description: RFC 6749 §5.2 error envelope.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuth2IntrospectError401'
          description: RFC 6749 §5.2 invalid_client error.
      security:
        - {}
components:
  schemas:
    OAuth2IntrospectRequestRequest:
      type: object
      properties:
        token:
          type: string
          minLength: 1
          description: The token to introspect.
        token_type_hint:
          type: string
          minLength: 1
          description: 'Optional advisory hint: ''access_token'' or ''refresh_token''.'
        client_id:
          type: string
          minLength: 1
        client_secret:
          type: string
          minLength: 1
      required:
        - token
    OAuth2IntrospectError400:
      type: object
      properties:
        error:
          type: string
        error_description:
          type: string
      required:
        - error
        - error_description
    OAuth2IntrospectError401:
      type: object
      properties:
        error:
          type: string
        error_description:
          type: string
      required:
        - error
        - error_description

````