@saazip/webhook-core-api
Sources:
apps/api/package.json|apps/api/src/index.ts
Purpose
Section titled “Purpose”Endpoint and delivery management API for outbound webhook governance, attempts, replay, and fanout.
Responsibilities
Section titled “Responsibilities”- register and update endpoints
- rotate secrets and expose auditable secret versions
- create deliveries and fanout requests
- list attempts, complete outcomes, and replay failed deliveries
Start here if
Section titled “Start here if”- teams adopting WebhookCore as a standalone outbound delivery subsystem
- products that want one control plane for endpoints, attempts, and replay
Workspace details
Section titled “Workspace details”- Package name:
@saazip/webhook-core-api - Workspace path:
apps/api - Run command:
pnpm dev:api - Local surface:
http://127.0.0.1:3030
Internal dependencies
Section titled “Internal dependencies”@saazip/webhook-core@saazip/webhook-core-contracts@saazip/webhook-core-crypto@saazip/webhook-core-domain@saazip/webhook-core-observability
External dependencies
Section titled “External dependencies”fastifyzod
Current routes
Section titled “Current routes”GET /healthGET /readyGET /metricsPOST /v1/endpointsGET /v1/endpointsPATCH /v1/endpoints/:idPOST /v1/endpoints/:id/rotate-secretPOST /v1/deliveriesGET /v1/deliveriesGET /v1/deliveries/:idGET /v1/deliveries/:id/attemptsPOST /v1/deliveries/:id/attemptsPOST /v1/deliveries/:id/replayPOST /v1/fanout
You still own
Section titled “You still own”- which events are exposed externally and who can subscribe to them
Scripts
Section titled “Scripts”dev:tsx watch src/index.tsbuild:tsc -p tsconfig.jsontypecheck:tsc --noEmit -p tsconfig.jsonlint:biome check src package.json tsconfig.json