PauboxWebhooks.
PHP
Webhook client
Manage webhook endpoints with the Paubox PHP SDK.
Webhook methods are on
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 PHP SDK.
PauboxWebhooks.
use Paubox\PauboxWebhooks;
$webhooks = new PauboxWebhooks('YOUR_API_KEY');
$endpoints = $webhooks->listWebhookEndpoints();
$endpoint = $webhooks->createWebhookEndpoint([
'target_url' => 'https://example.com/webhooks/paubox',
'events' => ['inbound_mail_received', 'api_mail_log_delivered'],
'signing_key' => 'whsec_abc123',
'active' => true,
]);
$endpoint = $webhooks->getWebhookEndpoint(42);
$endpoint = $webhooks->updateWebhookEndpoint(42, [
'active' => false,
]);
$endpoint = $webhooks->deleteWebhookEndpoint(42);