Serve the chat page in its embeddable form
GET /Platform/chat/embed
Serve the chat page in its embeddable form.
The page the embed loader frames on a host website; it connects to the visitor chat socket with the slug and makes no other authenticated calls. Install it with the loader script rather than framing this page directly.
Query parameters
token: optional str. The chat's share slug (sh_...); a legacy chat token is also accepted.mode: optional str.chat(default) for text chat, orvoiceto open in voice mode.
Returns
The HTML page. Sent as text/html, not JSON.
Example request
curl -X GET "https://api.hilus.ai/Platform/chat/embed" \
-H "Authorization: Bearer $HILUS_API_KEY"