Create webhook
create_webhookCreate a webhook endpoint. Returns the endpoint plus a signing secret (shown once).
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": {
"url": "<url>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL that receives events | |
| events | No | Optional event types (defaults apply when omitted) | |
| tenants | No | Optional: only these tenants' email events (external ids or Groundmail ids). Omit for all | |
| mailboxes | No | Optional: only these mailboxes' mailbox events (mbx_ ids, addresses or external ids). Omit for all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | Signing secret for verifying deliveries. Shown only once, so store it | |
| webhook | Yes | The created webhook endpoint |