Production contribution · Samora AI
Samora Webhooks
A PostgreSQL-first webhook platform connecting event creation, asynchronous delivery, cryptographic signing, retries, and developer-facing management tools.
TL;DR
Delivery is a promise. HTTP is just the transport. A webhook platform isn't really about making HTTP requests. It's about making promises about state, ownership, security, and recovery, then building enough infrastructure to keep those promises.
The problem
Modern products rarely operate alone. They need to tell external systems when something happens. But the moment an event leaves your application, you introduce a new set of problems.
Networks fail. Consumers time out. Attempts get retried. Secrets need rotating. Tenants must remain isolated. Someone needs to understand why a delivery didn't arrive.
A webhook system has to handle all of it without turning those guarantees into a burden for every application team.
What I worked on
I built across a PostgreSQL-first webhook architecture that connects event capture, durable delivery state, a Go delivery worker, backend management APIs, and a workspace-facing configuration interface.
The database owns the lifecycle of events and delivery attempts. Workers claim and process attempts, sign outbound requests, record results, and support retries and dead-letter handling.
The management layer gives teams visibility and control over subscriptions, test deliveries, signing secrets, and delivery history.
The engineering decisions
- Durable state before delivery. Events and attempts are represented in PostgreSQL rather than relying on an in-memory queue as the source of truth.
- Security as part of the delivery contract. Outgoing requests use HMAC signing. Secret management, workspace isolation, destination validation, and access control are built into the workflow.
- Retries without losing history. Retry successors preserve delivery context rather than silently rewriting previous attempts.
- A useful operator experience. Reliability also means someone can inspect a delivery, understand a failure, rotate a secret, and safely test a configuration.
What came out of it
A working delivery system spanning database architecture, worker execution, management APIs, and frontend controls.
The implementation includes end-to-end test fixtures and explicit handling for failure paths, retries, and tenant boundaries.
