---
title: "Get stream config"
method: GET
path: "/s2s/stream/config"
tags: ["S2S Stream"]
---

# Get stream config

`GET /s2s/stream/config`

Connection parameters. Read these at startup instead of hardcoding —
if the realtime infrastructure moves, your client follows automatically.

## Response `200`

Ok

- S2SStreamConfig
  - `protocol` 'pusher', required
  - `host` string, required
  - `port` number, double, required
  - `tls` boolean, required
  - `appKey` string, required
  - `channel` string, required
  - `authEndpoint` string, required
  - `userAuthEndpoint` string, required

---

[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/revisions/b8a72fda881e/schema)
