mail_createWebhookV1
Create a webhook for a mailbox to receive POST notifications on events like message.received, returning a unique secret for secure delivery.
Instructions
Create a webhook for the given mailbox. The generated secret is returned only in this response and is sent as a bearer token with every delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Publicly reachable URL that receives the webhook POST requests | |
| name | Yes | Human-readable name for this webhook | |
| events | Yes | Events that trigger this webhook | |
| status | No | Initial status of the webhook | |
| mailboxId | Yes | Mailbox resource ID | |
| description | No | Optional description of the webhook's purpose |