API Reference

    RESTful API for building custom integrations with Doctor Solar Wala.

    Authentication

    All API requests require an API key in the Authorization header:

    Authorization: Bearer YOUR_API_KEY

    Endpoints

    GET
    /api/v1/leads

    List all leads with filtering and pagination

    POST
    /api/v1/leads

    Create a new lead

    GET
    /api/v1/projects/:id

    Get project details including timeline and milestones

    POST
    /api/v1/proposals

    Generate a new proposal with ROI calculations

    GET
    /api/v1/invoices

    List invoices with payment status

    Rate Limits

    • Free: 100 requests/hour
    • Starter: 1,000 requests/hour
    • Pro: 10,000 requests/hour
    • Enterprise: Custom limits