Creates a new webhook configuration. A signing secret will be automatically generated.
API key for account management endpoints. Use your api_ prefixed token.
Human-readable webhook name. Only letters, numbers, hyphens, underscores, and spaces allowed.
64"Production Webhook"
Webhook endpoint URL (must be http or https)
"https://example.com/webhook"
List of event types to subscribe to. Must only include allowed event types.
1outbound.delivered, outbound.bounced, outbound.rejected, outbound.deferred, outbound.spam, outbound.dropped, outbound.virus, outbound.opened, outbound.clicked, outbound.complaint, inbound.received, inbound.delivered, inbound.spam, inbound.blocked [
"outbound.delivered",
"outbound.bounced",
"inbound.received"
]Webhook status: 0 = disabled, 1 = enabled
0, 1 1
Filter outbound events by username. Must be transactional keys or smarthosts you own. (null = all)
null
Filter inbound events by domain. Must be inbound domains you own. (null = all)
["example.com"]