Edge REST API & Webhook Reference
Integrate Reuxa’s ElevenLabs neural voice synthesis, Gemma 4 26B script architect, and WhatsApp dispatch into your stack with a single HTTP request.
POST /api/voice/synthesize
Synthesizes neural speech via ElevenLabs Multilingual v2, stores the MP3 in Cloudflare R2, logs to D1, and optionally dispatches a WhatsApp alert.
curl -X POST https://reuxa.com/api/voice/synthesize \
-H "Authorization: Bearer rx_live_99482a7f31c088e4b219d50e" \
-H "Content-Type: application/json" \
-d '{
"voice_id": "EXAVITQu4vr4xnSDxMaL",
"voice_name": "Aria Sterling",
"script_text": "Welcome to Reuxa Voice Cloud. Your enterprise cluster is online.",
"whatsapp_phone": "+962798001234"
}'POST /api/ai/architect
Executes Cloudflare Workers AI (`@cf/google/gemma-4-26b-a4b-it` with fallback `@cf/zai-org/glm-5.3-flash`) to generate spoken conversion scripts in under 150ms.
curl -X POST https://reuxa.com/api/ai/architect \
-H "Authorization: Bearer rx_live_99482a7f31c088e4b219d50e" \
-H "Content-Type: application/json" \
-d '{
"scenario": "Inbound FinTech CTO asking about SOC2 compliance and sub-150ms voice latency",
"campaign_mode": "inbound-closer"
}'Ready to Issue Your Production Key?
Activate any subscription tier to receive your `rx_live_*` key via WhatsApp and ZeptoMail.