Subscribe to events (webhook)
create_hookRegister a webhook URL — MightyAutomation POSTs each matching event to it as they happen. Use event_type "*" for every event, or a specific type like contact_created / form_submitted / appointment_booked. This is how an external agent receives real-time notifications instead of polling list_events.
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": {
"event_type": "<event_type>",
"target_url": "<target_url>"
},
"name": "create_hook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_type | Yes | Event type to subscribe to, or "*" for all. | |
| target_url | Yes | https URL that receives the event POSTs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| error | No | Present only when ok is false. | |
| event_type | No | ||
| target_url | No |