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

# Inspect an access token (Meta debug_token shape)

> Returns a Meta-shaped { data: { ... } } introspection envelope describing the authenticated Polymorfa API key, including the granted WhatsApp permissions mapped onto Meta scope strings.



## OpenAPI

````yaml /api-reference/openapi.graph.json get /{version}/debug_token
openapi: 3.0.3
info:
  title: Polymorfa Graph API
  version: 1.0.0
  description: Meta Cloud API-compatible facade.
servers:
  - url: https://api.polymorfa.com
security: []
paths:
  /{version}/debug_token:
    get:
      tags:
        - Graph API
      summary: Inspect an access token (Meta debug_token shape)
      description: >-
        Returns a Meta-shaped { data: { ... } } introspection envelope
        describing the authenticated Polymorfa API key, including the granted
        WhatsApp permissions mapped onto Meta scope strings.
      operationId: graphDebugToken
      parameters:
        - schema:
            type: string
            example: v21.0
          required: true
          name: version
          in: path
        - schema:
            type: string
          required: false
          name: input_token
          in: query
        - schema:
            type: string
          required: false
          name: access_token
          in: query
      responses:
        '200':
          description: Token introspection envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphDebugTokenResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '403':
          description: Permission error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '404':
          description: Object does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
      security:
        - BearerAuth: []
components:
  schemas:
    GraphDebugTokenResponse:
      nullable: true
    GraphError:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: number
            error_subcode:
              type: number
            error_data:
              nullable: true
            fbtrace_id:
              type: string
          required:
            - message
            - type
            - code
            - fbtrace_id
      required:
        - error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Polymorfa organization key (titan_ prefix) or project token (titan_pt_
        prefix). Client tokens are not accepted by Graph operations.

````