WebSocket
Writing a client
Use this if you are not on Python or TypeScript, or you would rather not take a dependency.
Everything the SDKs do is these frames: mint a socket_url over REST as in
Connecting, open a WebSocket to it, send a
frame, and match the reply on its msgid.
No SDK. Python needs one dependency (pip install websockets), and TypeScript needs none,
since Node 22 ships both fetch and WebSocket.
Frames without your msgid are events, so skip them while you wait for
a reply.
Next
- Frames and replies: every field, status and error shape.
- Events: the pushes that arrive without being asked for.
Last modified on

