WebSockets
Subscribe to WSS /v1/events/stream when you cannot expose a public webhook URL.
Organization
Parent
WebSocket
This guide
Connect
Authenticate with the same API key. Active subscriptions show up on GET /agent/status as connections.websocket_active.
const ws = new WebSocket("wss://api.agentcell.store/v1/events/stream", {
headers: { Authorization: `Bearer ${process.env.AGENTCELL_API_KEY}` },
});
ws.onmessage = (event) => console.log(JSON.parse(event.data));Common errors
- NOT_VERIFIED
API key is not verified.
Copy for Cursor / Claude
Connect to wss://api.agentcell.store/v1/events/stream with Authorization: Bearer $AGENTCELL_API_KEY.
See /docs/asyncapi.json for event payloads.