Get the embed code of a chatbot
get_chatbot_embed_codeGet the embed code of a chatbot
The code that puts the chatbot on a website, as the dashboard offers it: scriptCode adds a floating chat button before </body>, iframeCode places the chat inside a container, publicUrl is a direct link to the chat. Only chatbots of your own account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chatbotId": "<chatbotId>"
},
"name": "get_chatbot_embed_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatbotId | Yes | chatbotId |