widget channel for your business so visitor conversations can be received immediately.
Method: POST URL: /api/v1/widget/create
Headers
Body
string
required
The website domain this widget will be embedded on (e.g.,
acme.com).string
default:"PingBack Support"
A display name for the widget, used internally to identify it.
string
default:"Hi there!"
The main heading shown on the widget’s welcome screen.
string
A short tagline displayed below the welcome heading.
string
default:"#7650FF"
Hex color code used for the widget’s primary UI elements and launcher button.
boolean
default:"true"
Whether to show a live/offline availability badge on the widget launcher.
string
URL to a logo image displayed inside the widget. Host the image on any publicly accessible CDN or image host, then pass the URL here.
object
default:"{}"
Additional configuration options for the widget.
Response
string
required
UUID of the newly created widget.
string
required
UUID of the business that owns the widget.
string
required
Display name of the widget.
string
required
The domain this widget is configured for.
string
required
Welcome screen heading.
string
required
Welcome screen tagline.
string
required
Primary hex color.
boolean
required
Whether the online badge is enabled.
string
Logo URL, or
null if not set.object
required
The widget’s configuration object.
string
required
ISO 8601 timestamp of creation.
string
required
ISO 8601 timestamp of last update.
Example
Response example
Update a widget
Method:PUT URL: /api/v1/widget/update/{widget_id}
Updates an existing widget’s configuration. Only the owner of the business can update a widget. Any field you omit retains its current value.
Path parameters
string
required
The UUID of the widget to update.
Body
Same fields as Create Widget:name, domain, welcome_heading, welcome_tagline, primary_color, show_online_badge, logo_url, config.