DocsAPI Reference
OverviewGetting StartedGuidesFeaturesConfigurationTroubleshootingFAQsAPI ReferenceVideo Tutorials
REST API Reference

Developer API Documentation

Integrate LightNote AI's proposal generation, scoring, and rewrite capabilities directly into your internal tooling, CRMs, or custom agency workflows.

Authentication

All API requests must be authenticated using your Supabase JWT session token passed in the Authorization header as a Bearer token:

// Standard Request Headers
Authorization: Bearer <YOUR_SUPABASE_TOKEN>
Content-Type: application/json

Quickstart Example

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"
    }
  }'

Core API Endpoints

POST/api/generate-proposal

Generates an 8-section structured proposal from input criteria or resumes generation following clarification answers.

// Returns:
{ "success": true, "proposalId": "uuid", "sections": [...], "score": 92 }
POST/api/audit-proposal

Scores raw proposal text across 5 dimensions and returns sentence-level diagnostics.

// Returns:
{ "overallScore": 89, "winProbability": 78, "categories": { "clarity": 90, "persuasion": 88 }, "sentenceIssues": [...] }
POST/api/enhance-section

Rewrites a specific section with customized tone or persuasion constraints.

GET/api/proposals

Lists and filters stored proposals. Supports query parameters status, search, limit, and offset.

PreviousFrequently Asked QuestionsFAQsNextVideo TutorialsVideo Tutorials

Proposal intelligence

for teams that care about winning.

LightNote AI LogoLightNote AI

Company

  • Home
  • FAQ
  • Talk to Sales

Product

  • Docs
  • Pricing
  • Sign In

© 2026 LightNote AI. All rights reserved.

Privacy PolicyTerms of Service
LightNote AI Logo
ProductPricingDocumentation
LoginRegister