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

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"