Create a new webhook to receive event notifications at the specified URL.
API key for authentication
Request body for creating a webhook
Name of the webhook
255"Order Notifications"
URL where webhook events will be sent
2048"https://example.com/webhook"
Authentication type for the webhook
none, basic, oauth2 "basic"
Whether to receive all events or only selected ones
all, selected "selected"
Username for basic authentication (required when auth_type is 'basic')
255"user"
Password for basic authentication (required when auth_type is 'basic')
255"secret"
OAuth2 client ID (required when auth_type is 'oauth2')
255OAuth2 client secret (required when auth_type is 'oauth2')
255OAuth2 token URL (required when auth_type is 'oauth2')
2048List of event types to receive (required when events_mode is 'selected')
["delivery", "bounce"]