API Endpoint Testing

Test all API endpoints to ensure they're working properly

Run API Tests

Test all API endpoints for functionality and email delivery

Available API Endpoints

Core APIs

  • GET /api/health - Health check
  • GET /api/analytics - Analytics data
  • POST /api/analytics - Track events
  • POST /api/lead - Lead submissions

Email & Communication

  • POST /api/test-email - Email system
  • POST /api/send-review-notification - Review notifications
  • POST /api/verify-recaptcha - reCAPTCHA verification

Inventory & Admin

  • GET /api/inventory - Inventory data
  • POST /api/inventory - Inventory management
  • POST /api/admin/login - Admin authentication

Email Types

  • rating_request - Customer rating requests
  • review_request - Review requests with incentives
  • reminder - Follow-up reminders
  • kpi_report - Weekly KPI reports

Email Configuration Status

Required Environment Variables

  • SMTP_HOST - smtp.gmail.com
  • SMTP_PORT - 587
  • SMTP_USER - icondumpsters@gmail.com
  • SMTP_PASS - Your Gmail app password

Email Features

  • ✅ Lead form notifications
  • ✅ Customer auto-replies
  • ✅ Rating request emails
  • ✅ Review request emails
  • ✅ KPI report emails
  • ✅ Follow-up reminders