Skip to main content
The web widget lets you embed a live chat launcher on any webpage. Once embedded, customers can open a chat window and start a conversation that flows directly into your PingBack inbox.
The web widget is available on all plans, including Free.

Setup

1

Create a widget

Send a POST request to /api/v1/widget/create with your widget configuration.
The response includes a id field — this is your widget_id (a UUID). Save it for the next step.
Only one widget per domain is allowed per organization. Attempting to create a second widget for the same domain returns a 400 error.
2

Embed the widget on your site

Use the widget_id from the previous step to load your widget configuration. When your page loads, the widget script calls:
This fetches your widget’s appearance settings and initializes the chat launcher. Add the following snippet before the closing </body> tag of your HTML, replacing YOUR_WIDGET_ID with the UUID returned in step 1:
html
The widget uses Socket.IO for real-time messaging. See the Socket.IO integration guide for details on events and connection handling.
3

Customize the widget appearance

The following fields control how the widget looks and behaves:
4

Update widget settings

To change your widget configuration after creation, send a PUT request to /api/v1/widget/update/{widget_id}.
Any fields you omit retain their current values.