PauboxWebhooks.
PHP
PHP SDK webhook client
Create, list, get, update, and delete Paubox webhook endpoints with the PHP SDK to receive delivery, open, failure, and inbound mail events.
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.
Create, list, get, update, and delete Paubox webhook endpoints with the PHP SDK to receive delivery, open, failure, and inbound mail events.
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);