ghl_chat_widget_get
Retrieves the full chat widget configuration for a specific location and widget ID, enabling you to inspect widget settings and data.
Instructions
Get Chat Widget by ID Returns the full chat widget configuration for the given location and widget ID Endpoint: GET /chat-widget/data/{locationId}/{id} (Version header: v3; source: v3/chat-widget-v3.json) Requires a Sub-Account (location) token. OAuth scopes: chat-widget.readonly
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": {
"id": "<id>",
"locationId": "<locationId>"
},
"name": "ghl_chat_widget_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The chat widget ID | |
| locationId | Yes | The location ID |