Skip to content
Loopwix Docs

Hosted chat page and public widget API

Link to the full-page hosted Loopwix chat, and see an overview of the public endpoints the chat widget uses, with how stable each one is today.

Beta

Hosted chat page

Loopwix can serve the chat as a full page, for a link or QR code, without embedding anything. Use the hosted-page address in Channels → Website chat → Install (built from your public key). It uses the same configuration as the widget (appearance, messages, verification).

Public widget API

The widget talks to a small public API under /public/widget/v2, authenticated by your public key and the allowed sites you configured. These endpoints are made for the Loopwix widget:

They are beta and may change without notice. Prefer the widget script and JavaScript API. Request and response formats are not published here; there is no versioned, documented REST API for building your own chat client yet.
AreaEndpoints (under /public/widget/v2)
Bootstrapbootstrap (configuration for the widget), i18n/:lang (UI text)
Sessionssession, conversations, conversations/:id/messages
Chatturns/:turnId, events (streamed events), message feedback
Verificationsession/otp/start, …/otp/resend, …/otp/confirm, session/magic-link/start, …/magic-link/resend
Filesuploads (create, complete, delete), attachments/config, attachment content
Citationscitations/:ref
Paused workspacepaused-contact

Other public routes: the hosted page (/public/widget/page), plans (/public/plans), invitations and email-verification confirmation used by the dashboard.

Rules

  • Keys are public (lwix_pub_…); never put a secret key in a browser.
  • Calls from sites that are not in your allowed sites are refused.
  • Rate limits and error formats are not documented; handle non-2xx responses gracefully.

For the verification flow from your own site, see Security.

Was this page helpful?

Last reviewed 2026-11-21

On this page