chat.codename.cl
Chat embebible para tu app
Copia el script, entra al dashboard o conecta tu cliente a la API en tiempo real.
1. Pega este script en cualquier app
<script src="https://backend-help.codename.cl/widget.js"
data-workspace="ws_demo"
data-space="spc_demo"></script>
El bubble de abajo usa exactamente ese snippet en esta página.
2. Dashboard
Entra con [email protected] / password123 para ver y contestar chats.
3. API en tiempo real
REST en /v1. WebSocket en ws://…/v1/stream?token=<jwt>.
curl -X POST https://backend-help.codename.cl/v1/auth/login \
-H "content-type: application/json" \
-d '{"email":"[email protected]","password":"password123"}'
curl https://backend-help.codename.cl/v1/conversations \
-H "authorization: Bearer TOKEN"
# Eventos en vivo: message.created, presence.changed, metafield.set
# WS wss://backend-help.codename.cl/v1/stream?token=TOKEN
Catálogo JSON: GET /v1