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/sendgrid
SETUP 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 KeySENDGRID_API_KEY
For sending transactional follow-up emails via SendGrid
Not set
Webhook SecretSENDGRID_WEBHOOK_SECRET
For validating X-Twilio-Email-Event-Webhook-Signature on inbound events
Not set
Service API KeySERVICE_API_KEY
Overrides the dev key for the X-API-Key header on /api/leads
Not set
Database URLDATABASE_URL
PGlite (dev) or postgres:// connection string (production)
Not set