Paubox::Client you use to send email.
Ruby
Webhook client
Manage webhook endpoints with the Paubox Ruby SDK.
Webhook methods are on the same
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 Ruby SDK.
Paubox::Client you use to send email.
require 'paubox'
Paubox.configure do |config|
config.api_key = 'YOUR_API_KEY'
end
client = Paubox::Client.new
endpoints = client.list_webhook_endpoints
endpoint = client.create_webhook_endpoint(
target_url: 'https://example.com/webhooks/paubox',
events: ['inbound_mail_received', 'api_mail_log_delivered'],
signing_key: 'whsec_abc123',
)
endpoint = client.get_webhook_endpoint(42)
endpoint = client.update_webhook_endpoint(42, active: false)
endpoint = client.delete_webhook_endpoint(42)