Integrate LightNote AI's proposal generation, scoring, and rewrite capabilities directly into your internal tooling, CRMs, or custom agency workflows.
All API requests must be authenticated using your Supabase JWT session token passed in the Authorization header as a Bearer token:
curl -X POST https://lightnoteai.com/api/generate-proposal \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"formData": {
"clientName": "Acme Corp",
"proposalType": "Consulting",
"industry": "SaaS",
"tone": "Persuasive",
"problem": "High customer churn",
"solution": "Customer success playbook",
"budget": "$15,000",
"timeline": "4 weeks"
}
}'/api/generate-proposalGenerates an 8-section structured proposal from input criteria or resumes generation following clarification answers.
/api/audit-proposalScores raw proposal text across 5 dimensions and returns sentence-level diagnostics.
/api/enhance-sectionRewrites a specific section with customized tone or persuasion constraints.
/api/proposalsLists and filters stored proposals. Supports query parameters status, search, limit, and offset.