Send test webhook event
send_test_webhook_eventSimulate a webhook event (POST /emails/test) for CI or local webhook testing. Optionally deliver to subscribed endpoints.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Email event to simulate (email.received cannot be simulated — send a real inbound message) | |
| deliver | No | When true (default), enqueue delivery to account webhooks | |
| email_id | No | Optional existing email id (msg_…) | |
| webhook_id | No | Deliver to this one webhook endpoint only |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| payload | No | The simulated event payload, as a webhook would receive it | |
| delivered | No | True when it was sent to webhook endpoints | |
| deliveries | No |