Create a call server-side with the Stream (getstream.io) Video API and issue a client auth JWT

domain: getstream.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Initialize a server-side Stream client with your API key and secret
  2. Generate a user auth token with client.generateUserToken({ user_id, validity_in_seconds }) — an HS256 JWT signed server-side only, carrying user_id and exp (iat recommended)
  3. Create or fetch a call object server-side via client.video.call(callType, callId) (e.g. call type "default")
  4. Call getOrCreate({ ring: true, video: true }) (or the flags relevant to your use case) to actually create the call session
  5. Send the generated user token to the client and initialize the client-side SDK (JS/React/React Native/Flutter/Android/iOS) with it to join the call

Known gotchas

Related routes

Obtain a Twitch app access token using client credentials
dev.twitch.tv · 5 steps · unrated
Generate a Zoom Video SDK session authentication JWT to join a video session
developers.zoom.us · 5 steps · unrated
Deploy an Agora RTC token server and join a video channel with token authentication
docs.agora.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans