curl --request GET \
--url https://app.splox.io/api/v1/chat-internal-messages/{chatId}/listen \
--header 'Authorization: Bearer <token>'"<string>"Streams real-time chat updates via Server-Sent Events. Subscribes to the chat’s Redis channel and streams workflow request updates and node execution events for the chat session. Keepalive every 3 seconds, 30-minute timeout.
curl --request GET \
--url https://app.splox.io/api/v1/chat-internal-messages/{chatId}/listen \
--header 'Authorization: Bearer <token>'"<string>"curl -N -H "Authorization: Bearer YOUR_TOKEN" \
https://app.splox.io/api/v1/chat-internal-messages/{chat_id}/listen
data: {"workflow_request":{"id":"...","status":"in_progress",...},"node_execution":{"id":"...","status":"completed",...}}
data: keepalive
data: {"is_active":false,"type":"workflow_status"}
| Event | Description |
|---|---|
| Workflow + Node update | Contains workflow_request and/or node_execution fields with current status and data |
| Keepalive | Literal string keepalive sent every 3 seconds |
| Workflow status | {"is_active":false,"type":"workflow_status"} when a workflow stops |
API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings
Chat ID
SSE stream of chat events. Includes workflow request status updates and node execution events for the chat session.
The response is of type string.