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

# Get Knowi session token

> Get a Knowi session token and user information for accessing custom dashboards. Requires dashboards scope.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /dashboard/custom/_token
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /dashboard/custom/_token:
    post:
      tags:
        - dashboard
      summary: Get Knowi session token
      description: >-
        Get a Knowi session token and user information for accessing custom
        dashboards. Requires dashboards scope.
      responses:
        '200':
          description: Knowi session token and user
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_dashboard_custom.CustomDashboardTokenResponse
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_dashboard_custom.CustomDashboardTokenResponse:
      type: object
      properties:
        key:
          type: string
        user: {}
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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