Get the Mira widget install snippet
get_mira_widget_embedRetrieve the embed snippet to paste before and the preview URL for testing a saved, disabled widget using its webChat publicKey.
Instructions
Return the embed snippet a website owner pastes before , plus the preview URL for testing a saved-but-disabled widget. Requires the webChat publicKey minted when widget configuration is first saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Whether the widget is live | |
| snippet | Yes | Paste before </body> | |
| loaderUrl | Yes | ||
| publicKey | Yes | ||
| previewUrl | Yes | Works while the widget is still disabled | |
| widgetPageUrl | Yes | ||
| allowedDomains | Yes |