latestOpenAPI 3.0.02026-08-18305331605.3 KB

6bb0c3577de2

S2S Stream

Authorize channel subscription

Channel authorization — point your Pusher client's channel auth here with your server key as the Authorization header. A new consumerId takes over from the previous consumer (its connection is terminated).

post/s2s/stream/auth

Request body

socket_idstring required
channel_namestring required
consumerIdstring required

Identifies the connecting backend instance; a new consumerId takes over.

typingEventsboolean

Opt this stream into agent.typing.* events (high volume; default off).

Response

Ok

{"stackTrail":"paths:/s2s/stream/auth:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}