Webhooks and inbound endpoints

The callback URLs PipeBase exposes for Meta, Twilio, Stripe and SES.

PipeBase receives webhooks from the services it integrates with. All of them verify signatures — an unsigned or wrongly signed request is rejected before any processing happens.

Endpoints

/api/meta-webhooks                    Meta: Lead Ads, DMs, Page comments
/api/meta-webhooks/deauthorize        Meta: app removed by the user
/api/meta-webhooks/data-deletion      Meta: data deletion request
/api/phone/webhooks/incoming          Twilio: inbound call
/api/phone/webhooks/call-status       Twilio: call status change
/api/sms/webhooks/incoming            Twilio: inbound SMS
/api/webhooks/stripe                  Stripe: subscription and payment events
/api/ses-events                       SES: bounces and complaints

Verification

SourceMethod
MetaHMAC-SHA256 over the raw body, X-Hub-Signature-256
StripeStripe signature over the raw body
Meta callbacksSigned request, HMAC over the payload

Raw bodies are preserved for the routes that need them — signature verification against a re-serialized body would never match.

Delivery guarantees

Providers retry, so every handler is idempotent. Meta messages dedupe on message id, leads on leadgen id, Stripe on event id. A redelivered webhook is a no-op rather than a duplicate record.

Handlers acknowledge fast and process asynchronously, so slow downstream work never causes a retry storm.