Check a Widget snippet
Inspect pasted installation code against the supplied Scenario ID. The check does not fetch your website or prove that the Widget renders there.
Opening this form does not run the check.
Example JSON request
{
"scenario_id": "demo123",
"snippet": "<script>\n (function(e,a,d,i,c,t=a.createElement(d)){e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments)},t.src=i,t.async=1,a.body.insertAdjacentElement(\"beforeend\",t)})(window,document,\"script\",\"https://bubble.quickchat.ai/chat.js\",\"_quickchat\");\n _quickchat(\"init\", \"demo123\");\n</script>"
}Supported fields and limits (JSON Schema)
{
"additionalProperties": false,
"properties": {
"scenario_id": {
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"title": "Scenario Id",
"type": "string"
},
"snippet": {
"maxLength": 1700,
"minLength": 1,
"title": "Snippet",
"type": "string"
}
},
"required": [
"scenario_id",
"snippet"
],
"title": "WidgetSnippetInput",
"type": "object"
}Tool version: public-widget-snippet-v1