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

# Inspect the current access token

> Returns metadata about the bearer token currently presented in the Authorization header. Useful for verifying that a token corresponds to the expected partner application.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/oauth2/info
openapi: 3.1.0
info:
  title: Zest equity public api API
  version: 0.1.0
servers:
  - url: https://sandbox-api.zestequity.com
    description: Staging
security: []
tags:
  - name: Authentication
    description: >-
      OAuth 2.0 JWT-Bearer assertion grant. Exchange a partner-signed JWT for a
      short-lived bearer access token, then send that token in the Authorization
      header on every partner API call.
  - name: SPV Requests
    description: >-
      Submit SPV creation requests, inspect their lifecycle, and cancel pending
      ones. SPV requests are reviewed by Zest admins and produce SPV
      materialisation on approval.
  - name: Investors
    description: >-
      Bulk-create investor records with partial-success semantics. Each row
      carries its own status / error envelope so a single bad row never fails
      the batch.
  - name: Subscriptions
    description: Create one or more subscriptions for a single SPV.
  - name: Subscription Forms
    description: >-
      Upload signed subscription forms (PDF or image) for partner-managed
      subscriptions. Files are streamed to private storage and referenced on the
      Bid.
  - name: Subscription Fundings
    description: >-
      Upload wire-transfer receipts plus funding metadata. Strict order: a
      signed form must already be on record before fundings can be uploaded.
  - name: Contracts
    description: >-
      Read-only access to the spaas-contract registry (templates, catalogs,
      primitives, samples) used to validate SPV-request `attributes`.
  - name: System
    description: Service health and OpenAPI introspection endpoints.
paths:
  /v1/oauth2/info:
    get:
      tags:
        - Authentication
      summary: Inspect the current access token
      description: >-
        Returns metadata about the bearer token currently presented in the
        Authorization header. Useful for verifying that a token corresponds to
        the expected partner application.
      operationId: getOauth2Info
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfoResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    InfoResponse:
      properties:
        clientType:
          type: string
          enum:
            - service
            - user
            - application
          title: Clienttype
        clientId:
          type: string
          title: Clientid
        metadata:
          type: object
          title: Metadata
      type: object
      required:
        - clientType
        - clientId
      title: InfoResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````