Finance Tracker Webhook

This app exposes POST /api/inbound for verified inbound.new webhooks and logs a truncated payload snapshot to Vercel logs.

Requests must include Authorization: Bearer <INBOUND_WEBHOOK_API_KEY>.

Local env file: apps/web/.env.local

Webhook URL: /api/inbound

Health check: GET /api/inbound

Expected success response:

{
  "ok": true,
  "verified": true,
  "webhookEvent": "email.received",
  "endpointId": "endp_123",
  "payloadKeys": ["event", "timestamp", "email", "endpoint"]
}