v5

latestOpenAPI 3.0.02026-08-04258282491.7 KB
User

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

post/users/me/session-channel-auth

Request body

socket_idstring required
channel_namestring required

Response

Ok

{"stackTrail":"paths:/users/me/session-channel-auth:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}