API Documentation
B2B API for embedding home renovation cost estimators
Public Endpoints
GET/api/questions.php
Get questions for a trade estimator.
GET /api/questions.php?trade=kitchen
POST/api/estimate.php
Calculate cost estimate based on answers.
POST /api/estimate.php
{
"trade": "kitchen",
"answers": { ... }
}
POST/api/submit_lead.php
Submit verified lead after OTP confirmation.
GET/api/health.php
System health check.
Authentication
Partner endpoints require authentication via:
Session Cookie - Browser-based access via OTP login
API Key - Programmatic access via Authorization: Bearer header
Partner Endpoints
Authenticated partners have access to dashboard, leads, calendar, analytics, and webhook management. Become a partner to access these features.
Rate Limits
Public endpoints are rate limited. Contact us for higher limits.