Paubox_Email_SDK.
Perl
Webhook client
Manage webhook endpoints with the Paubox Perl SDK.
Webhook functions are exported from
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage webhook endpoints with the Paubox Perl SDK.
Paubox_Email_SDK.
use Paubox_Email_SDK qw(
listWebhookEndpoints createWebhookEndpoint
getWebhookEndpoint updateWebhookEndpoint
deleteWebhookEndpoint
);
my $endpoints = listWebhookEndpoints();
my $endpoint = createWebhookEndpoint({
target_url => 'https://example.com/webhooks/paubox',
events => ['inbound_mail_received', 'api_mail_log_delivered'],
signing_key => 'whsec_abc123',
active => 1,
});
my $endpoint = getWebhookEndpoint(42);
my $endpoint = updateWebhookEndpoint(42, {
active => 0,
});
my $endpoint = deleteWebhookEndpoint(42);