mautic_create_webhook
Create a Mautic webhook with a name, URL, and triggers, with optional dry-run preview and trigger validation before saving.
Instructions
Create a webhook. POST /api/hooks/new with name, webhookUrl, and triggers. Optional description, eventsOrderbyDir (ASC or DESC), and isPublished. When confirm is true, trigger names are checked against GET /api/hooks/triggers before the create. Omit confirm for a dry-run preview that does not call Mautic. The response secret is removed.
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": {
"name": "<name>",
"webhookUrl": "<webhookUrl>",
"triggers": "<triggers>"
},
"name": "mautic_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| triggers | Yes | ||
| webhookUrl | Yes | ||
| description | No | ||
| isPublished | No | ||
| eventsOrderbyDir | No | ASC or DESC. Lowercase asc and desc are accepted and sent in uppercase. |