Miben segíthetünk?

Írja le röviden, miről van szó – e-mailben jelentkezünk.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Kezdőlap

Integration: technical reference for developers

The complete technical reference for integrating reactive.chat – in the browser (script tag, JavaScript API, events, identity, SPA, CSP) and on your server (signatures, customer data, webhooks, REST API, MCP, channels, own domain).

This reference is for developers who build reactive.chat into a website, an app or a backend. It describes interfaces and flows as they are implemented in the code – with names, types, defaults and error cases.

How to set up appearance, texts, start screen, rules, tours, A/B tests and the AI persona is described under Customisation. How to use your account and the desk is described in the Manual.

At a glance

Your visitors' browser                      reactive.chat                         your server
----------------------                      -------------                         -----------
loader.js  --(trigger)-->   core.<hash>.js  cdn.reactive.chat
   window.ReactiveChat (API, events)
   WebSocket rc.v1  <------------------->   ws.reactive.chat/rc_wss/
   HTTP fallback (SSE/Poll) <----------->   ws.reactive.chat/rc_wss/h/
                                            chat server  --- POST (signed) ---->  customer data endpoint
                                                         --- POST (signed) ---->  webhook receiver
                                            reactive.chat/v1  <--- Bearer -----  REST API / MCP
identify(userHash)  <-------------------------------------- HMAC-SHA256 ------  identity secret

On the client side you embed a script tag and optionally control the widget through window.ReactiveChat. On the server side you sign the identity of signed-in users, answer customer data requests if needed, receive webhooks and use the REST API.

Chapters

Basics

In the browser

Connection and delivery

On your server

Other places to build it in

Operation

Further pages on the topic

Terms

All parts of the documentation at a glance: Documentation.

Utolsó frissítés: