API v1
Base URL: https://informes.iconroofinggroup.com/api/v1 · Machine-readable spec: OpenAPI 3.1
Authentication
Create an API key in Settings → API and send it on every request:
Authorization: Bearer sbl_live_…
Create a report
curl -X POST https://informes.iconroofinggroup.com/api/v1/reports \
-H "Authorization: Bearer $SABAL_KEY" -H "Content-Type: application/json" \
-d '{"address": "1012 McKinnon Ave, Oviedo, FL 32765", "property_type": "residential"}'
→ 201 {"report_id": "rpt_…", "status": "queued"}
Optional: external_ref (your id, echoed in webhooks) and lat/lng of a point on the roof to measure.
Get a report
curl https://informes.iconroofinggroup.com/api/v1/reports/rpt_… -H "Authorization: Bearer $SABAL_KEY"
{
"report_id": "rpt_…", "status": "completed",
"address": "1012 McKinnon Ave, Oviedo, FL 32765", "lat": 28.6422, "lng": -81.1935,
"property_type": "residential", "roof_type": "shingle",
"total_area_sqft": 2521, "squares": 25.2,
"sections": [{"id": 1, "area_sqft": 412, "pitch": "6/12"}, …],
"edges": {"ridge_ft": 66, "hip_ft": 35, "valley_ft": 126, "eave_ft": 107, "rake_ft": 135},
"perimeter_ft": 236, "parapet_ft": 0, "drains": null, "hvac_units": null, "penetrations": null,
"florida": {"wind_mitigation_notes": "…", "estimated_roof_age": {"years": 22, "method": "appraiser_original", …}},
"to_verify": [], "confidence": 0.93,
"pdf_url": "https://informes.iconroofinggroup.com/api/v1/reports/rpt_…/pdf", "created_at": "2026-11-23T18:04:11Z"
}
Statuses
queued → processing | Usually under a minute. |
completed | Measurements delivered. |
needs_review | Data is not reliable enough. Measurements are null; to_verify[] explains why. A person confirms the outline in the editor (editor_url); you then receive report.completed. |
failed | Address not found or no data. Not charged. |
Webhooks
Add an HTTPS endpoint in Settings. Events: report.completed, report.needs_review. Body = {"id", "type", "created_at", "data": <report>}. Failed deliveries are retried after 1 min, 5 min, 30 min, 2 h, 6 h and 12 h.
Verify the Sabal-Signature: t=<unix time>,v1=<hex> header: v1 = HMAC_SHA256(secret, t + "." + raw_body).
import hmac, hashlib
def verify(secret, header, raw_body):
parts = dict(p.split("=", 1) for p in header.split(","))
mac = hmac.new(secret.encode(), (parts["t"] + ".").encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(mac, parts["v1"])
Other endpoints
GET /api/v1/reports?status=&limit=— recent reportsGET /api/v1/reports/{id}/pdf— PDF (completed only)- Planned (directory, phase 2):
/companies,/service-areas,/rate-cards,/bookings,/bid-requests,/bids,/reviews→501 planned
Errors
401 invalid_api_key · 402 no_credits · 404 not_found · 409 report not completed · 422 invalid body.