> ## 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.

# Authorize a session channel subscription

> Authorize a websocket subscription to the caller's own `private-session-<gleapId>` channel. Any other
channel name returns `{ "valid": false }` with HTTP 200. Authenticated with the project's public API
key (`api-token` header) plus a signed session identity (`gleap-id`/`gleap-hash` headers).



## OpenAPI

````yaml https://api.gleap.io/api-docs.json post /users/me/session-channel-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-channel-auth:
    post:
      tags:
        - User
      summary: Authorize a session channel subscription
      description: >-
        Authorize a websocket subscription to the caller's own
        `private-session-<gleapId>` channel. Any other

        channel name returns `{ "valid": false }` with HTTP 200. Authenticated
        with the project's public API

        key (`api-token` header) plus a signed session identity
        (`gleap-id`/`gleap-hash` headers).
      operationId: AuthenticateUserPusherChannelSession
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                socket_id:
                  type: string
                channel_name:
                  type: string
              required:
                - socket_id
                - channel_name
              type: object
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security: []

````