Settings
Configure your API keys, webhook endpoints, and integrations.
SERVICE API KEY
Use this key in the X-API-Key header when POSTing to /api/leads.
dev-api-••••••••••••⚠Set
SERVICE_API_KEY in your environment variables to override this development key.SENDGRID INBOUND PARSE WEBHOOK
Paste this URL into your SendGrid Inbound Parse settings. Incoming emails to your receiving domain will flip the matching lead to Replied and cancel pending follow-ups.
https://your-domain.com/api/webhooks/sendgridSETUP STEPS
1.In SendGrid, go to Settings → Inbound Parse → Add Host & URL
2.Set your receiving subdomain (e.g. inbound.yourdomain.com)
3.Paste the webhook URL above into the Destination URL field
4.Set SENDGRID_WEBHOOK_SECRET in your environment to enable signature validation
ENVIRONMENT STATUS
Required environment variables for full production operation.
SendGrid API Key
SENDGRID_API_KEYFor sending transactional follow-up emails via SendGrid
Not set
Webhook Secret
SENDGRID_WEBHOOK_SECRETFor validating X-Twilio-Email-Event-Webhook-Signature on inbound events
Not set
Service API Key
SERVICE_API_KEYOverrides the dev key for the X-API-Key header on /api/leads
Not set
Database URL
DATABASE_URLPGlite (dev) or postgres:// connection string (production)
Not set