register_mailbox_webhook
Register a webhook to receive real-time POST notifications for email events like delivery, bounced, and complaints on a project mailbox.
Instructions
Register a webhook on the project's mailbox. Receives POST notifications for email events (delivery, bounced, complained, reply_received).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| url | Yes | Webhook callback URL | |
| events | Yes | Events to subscribe to. Valid: delivery, bounced, complained, reply_received | |
| mailbox | No | Target mailbox by slug or id; omit only when the project has exactly one mailbox. |