- outbound workspace webhooks that MailKatana sends to your endpoint URLs
- inbound provider webhooks, including Stripe callbacks configured per workspace
Outbound webhook endpoints
Use the session-authenticated/v1/webhook-endpoints routes to manage where MailKatana delivers workspace events.
POST /v1/webhook-endpointscreates an endpointGET /v1/webhook-endpointslists existing endpointsPATCH /v1/webhook-endpoints/{endpointId}updates URL, status, description, or event filtersPOST /v1/webhook-endpoints/{endpointId}/signing-secretrotates the signing secret and returns it oncePOST /v1/webhook-endpoints/{endpointId}/send-testdelivers atesting.testEventpayload immediately
disabled unless you explicitly set status to active.
Verifying outbound deliveries
Outbound webhook deliveries are signed with Standard Webhooks style headers:Webhook-IdWebhook-TimestampWebhook-Signature
Stripe integration setup
Use the session-authenticated/v1/settings/integrations/stripe routes to fetch or update workspace Stripe settings.
The response includes:
enabledhas_signing_secretwebhook_urlsupported_events
Stripe webhook ingestion
Configure Stripe to send supported events to thewebhook_url returned by the integration settings endpoint. MailKatana accepts callbacks at:
POST /v1/integrations/stripe/webhook/{integrationId}
That endpoint:
- requires the
Stripe-Signatureheader - validates the request against the stored signing secret
- archives Stripe events by Stripe event ID for idempotency
- normalizes only the supported Stripe events into MailKatana contact events
Supported Stripe events
Current supported Stripe event types are:charge.dispute.createdcharge.dispute.closedcheckout.session.async_payment_succeededcheckout.session.async_payment_failedcheckout.session.completedcustomer.createdcustomer.updatedcustomer.deletedcustomer.subscription.createdcustomer.subscription.pausedcustomer.subscription.resumedcustomer.subscription.trial_will_endcustomer.subscription.deletedinvoice.paidinvoice.payment_failedinvoice.upcomingquote.finalizedquote.acceptedquote.canceled