widgets_get_embed_code
Get the embed code snippet for a livechat widget.
Returns HTML/JavaScript code to add to your website. The code should be placed before the closing tag.
Use this when user wants to install the chat widget on their site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_id | Yes | ID of the widget to get embed code for | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |