---
title: "Authorize a session channel subscription"
method: POST
path: "/users/me/session-channel-auth"
tags: ["User"]
---

# Authorize a session channel subscription

`POST /users/me/session-channel-auth`

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

## Request body

- object
  - `socket_id` string, required
  - `channel_name` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
