post--v3-domains-domain-webhooks
Create webhooks for Mailgun domain events to receive notifications about email delivery status, opens, clicks, and user actions.
Instructions
Create a domain webhook
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": {
"domain": "<domain>",
"id": "<id>",
"url": "<url>"
},
"name": "post--v3-domains-domain-webhooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| id | Yes | Webhook type to create. Valid types are `accepted`, `clicked`, `opened`, `unsubscribed`, `delivered`, `permanent_fail`, `temporary_fail`, `complained` | |
| url | Yes | url(s) for webhooks to be sent to. Use multiple times to associate more than one url. Maximum of 3 urls for a given webhook type. |