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

# Get a JWT for a user (browser-friendly)

> Returns a JWT scoped to the given user. The GET form is intended for browser navigation
during dev / impersonation flows — `POST` is the canonical form used by tooling.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /jwt/{id}
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /jwt/{id}:
    get:
      tags:
        - Profile
      summary: Get a JWT for a user (browser-friendly)
      description: >
        Returns a JWT scoped to the given user. The GET form is intended for
        browser navigation

        during dev / impersonation flows — `POST` is the canonical form used by
        tooling.
      operationId: getJwtForProfile
      parameters:
        - name: id
          in: path
          required: true
          description: Profile id to issue the JWT for.
          schema:
            type: integer
          example: 1
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  token:
                    type: string
                    description: JWT scoped to the requested profile.
        '403':
          description: Unauthorized
        '404':
          description: Profile not found
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````