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

# Verify scoped token

> Validates the scoped token in the Authorization header and returns the org and user it is bound to.



## OpenAPI

````yaml https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/auth/services/check-token
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://app.usequanta.com
    description: Production
security:
  - HTTPBearer: []
paths:
  /api/auth/services/check-token:
    get:
      tags:
        - quanta-services-api
      summary: Verify scoped token
      description: >-
        Validates the scoped token in the Authorization header and returns the
        org and user it is bound to.
      operationId: check_services_token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckServicesTokenResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    CheckServicesTokenResponse:
      properties:
        org_name:
          type: string
          title: Org Name
          description: Name of the organization the token is scoped to
        user_name:
          type: string
          title: User Name
          description: Full name of the authenticated user
      type: object
      required:
        - org_name
        - user_name
      title: CheckServicesTokenResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Quanta Services API scoped bearer token. Supported only on Services API
        routes.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.