S2S Stream

Authorize channel subscription

Changed on

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

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/s2s/stream/auth
  • Auth
    HTTP bearer

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

unknown required

Changes