Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.plura.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Plura AI WebSocket API enables real-time communication between your application and Plura’s AI agent workflows. Use it to build custom chat interfaces, web widgets, or mobile app integrations.

Two Integration Options

Direct WebSocket

Connect immediately with session=null for anonymous chat. No lead data required.

Session + WebSocket

Initialize a session with lead data first, then connect with session credentials for personalized AI conversations.

Which Should I Use?

ScenarioOption
Anonymous visitorsDirect WebSocket
Public chat widgetDirect WebSocket
No lead info availableDirect WebSocket
Have phone/name/custom fieldsSession Initialization + WebSocket
Want personalized AI responseSession Initialization + WebSocket

Endpoints

URL
Session InitPOST https://hooks.plura.ai/webchat/session
WebSocketwss://wss.plura.ai/webchat/flow/{flowId}/session/{sessionId}/r/{reconnect}