πŸ”’ Admin / Internal tools β€” for owner use only. These endpoints write to the live database.

Dev Console

Test all endpoints directly. All mutations go to the live database.

POST /lead

External form submission β€” creates lead, sends intro email.

POST /intake

Internal intake β€” sales team adds lead with source/campaign.

POST /reply

Simulate an inbound reply β€” generates AI follow-up.

β†’ Run Prospect Scraper

All endpoints

POST/leadexternal form
POST/intakeinternal add
POST/replyinbound reply
POST/scrape-and-intakescraper + pipeline
POST/unsubscribe{ email, reason? }
GET/leads
GET/leads/:id/messages
PATCH/leads/:id{ stage, owner, score, source, campaign }
GET/stats
GET/settings
POST/settings
GET/healthz