Relay Voice Operations
Developer Documentation v1.0 (SDK & API Portal)

System Architecture & Telephony Protocol

How RELAY orchestrates sub-second voice synthesis, live web grounding, and multi-tenant EHR privacy.

End-to-End Realtime Telephony & RAG Sync TopologyHTTP / WebSocket / SIP Interconnect
STAGE 01
1. Trigger & Interconnect
Inbound PSTN ring, REST API trigger, or scheduled Excel batch campaign.
STAGE 02
2. Neural Voice & Web RAG
24kHz Opus audio stream + real-time website knowledge retrieval.
STAGE 03
3. Privacy Free/Busy Check
Strict temporal privacy masking for calendar availability & EHR slots.
STAGE 04
4. Fact Extract & CRM Sync
Extracts JSON facts, lead score, and dispatches webhook notifications.
Multi-Tenant Enterprise Isolation

Each corporate entity operates inside an isolated workspace context with isolated call records, staff roles, and vector search embeddings.

Privacy-Preserving Free/Busy Masking

Only open time windows are exposed to conversational agents. Caller PII and confidential notes are never leaked between tenant environments.