> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sigmachat.org/llms.txt
> Use this file to discover all available pages before exploring further.

# The gateway

> Server-sent events for everything your app can see.

Connect to `/api/v1/gateway` with your token and keep the connection
open. Events arrive as standard SSE frames: message creates, edits,
deletes, and slash-command invocations on boards your app is installed
in.

```bash theme={null}
curl -N https://sigmachat.org/api/v1/gateway \
  -H "Authorization: Bearer YOUR_TOKEN"
```

Reconnect on drop; the stream is stateless and safe to resume.
