Create organization webhook
org_webhook_createRegisters an HTTPS URL to be notified when mail arrives at one of the organization's inboxes.
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": {
"orgId": "<orgId>",
"agentId": "<agentId>",
"url": "<url>"
},
"name": "org_webhook_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL to POST notifications to. | |
| orgId | Yes | Organization ID from org_list. | |
| agentId | Yes | Inbox ID from domain_inbox_list. | |
| eventTypes | No | Events to notify on. Only "mail.received" is supported, and it is the default. |