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

# Authenticate a session for websockets

> Authenticate a widget session for websocket use. Authenticated with the project's public API key
(`api-token` header) plus a signed session identity (`gleap-id`/`gleap-hash` headers), not with a
dashboard JWT.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json post /users/me/session-auth
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /users/me/session-auth:
    post:
      tags:
        - User
      summary: Authenticate a session for websockets
      description: >-
        Authenticate a widget session for websocket use. Authenticated with the
        project's public API key

        (`api-token` header) plus a signed session identity
        (`gleap-id`/`gleap-hash` headers), not with a

        dashboard JWT.
      operationId: AuthenticateUserPusherSession
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                socket_id:
                  type: string
              required:
                - socket_id
              type: object
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security: []

````