UikeyLeads Autopilot & API Reference
UikeyPulse Cron Workers & DMFlow Webhook Docs
1. Daily UikeyPulse Cron Endpoints
All three endpoints require Authorization: Bearer <CRON_SECRET>:
GET /api/cron/autopilot-cleanup— Re-verifies oldest 50 records > 30 days old; archives failed checks (>= 3) & purges > 90 days.GET /api/cron/autopilot-grow— Picks next pending (niche, city) fromleads_auto_seed_queueand delivers daily matched leads to Auto-Leads users.GET /api/cron/autopilot-followup— Advances due Day-1 → Day-3 → Day-7 follow-ups and triggers connected DMFlow webhooks.
2. DMFlow Webhook Payload
Webhook URLs are encrypted at rest using AES-256-GCM before storage in leads_profiles.webhook_url_encrypted.
{
"event": "hot_closing_push",
"lead": {
"source_type": "online_booking",
"crm_status": "interested",
"followup_stage": 2,
"deal_value_inr": 1200
}
}