Order roof measurement reports from your own software through an API
One API call orders a roof report from your own software, paid from a prepaid balance and delivered under your brand by webhook. What you send and what comes back.
If your customers already give you an address in your own CRM, website or app, you don't need to send anyone into RoofStruct to order a roof report. Your software makes one call to POST /v1/reports with the address, and the report is measured and delivered like an order placed in the app. It comes back to your software with your logo and no RoofStruct name on it, so you can pass it on as your own.
Ordering through the API is part of the Enterprise plan. Reports are paid from a prepaid balance at the price agreed with you, and you can try the whole flow for free first in Test Mode.
Who it's for
- Software for roofers and contractors that wants to offer roof reports inside its own product.
- Roofing companies with their own lead system, where every new job with an address should come with a roof report.
- Teams that resell reports to their own customers and need them delivered under their brand.
If you only want to send the roofs you draw yourself into a CRM, you don't need ordering at all: API keys, webhooks and Send to Your Apps do that.
How an order flows

- Your software sends the order. One
POST /v1/reportscall with the address, the report type and your own job reference. - RoofStruct checks it and charges your balance. The address is placed on the map. If it can't be found precisely, the order is refused and nothing is charged.
- The roof is measured. The same way as a report ordered in the app, with the same checks.
- Your software hears about it. Webhooks fire as the order moves:
report.status_changedalong the way, andreport.deliveredwith the measurements and a link to the PDF when it's done. - You hand it on. The PDF carries your logo, not RoofStruct's. RoofStruct doesn't email your customer: you deliver it from your own system.
What you send
| Field | What it is |
|---|---|
address |
The property address (US and Canada, with a house number). Or send latitude + longitude of the roof instead |
report_type |
roof_residential (the default) or roof_commercial |
reference |
Your own job or order ID, sent back with every webhook |
project_name, notes |
Optional, for the technician and for your records |
requested_pitch |
The pitch if you know it, like 6/12 |
detached_structures |
Any of detached_garage, pool_house, shed_workshop, barn_ag |
test |
true for a free test order |
Send an Idempotency-Key header with every order (your job ID works). If a request times out and your software retries with the same key, you get the first order back instead of paying twice.
curl https://roofstruct.com/api/v1/reports \
-H "Authorization: Bearer rs_live_..." \
-H "Idempotency-Key: JOB-2231" \
-H "Content-Type: application/json" \
-d '{
"address": "118 Birch Hollow Ln, Columbus, OH",
"report_type": "roof_residential",
"reference": "JOB-2231"
}'
The answer is 201 with the new order, its RoofStruct reference, its status and your balance after the charge.
What comes back
When the report is delivered, the report.delivered webhook and GET /v1/reports/{id} give you:
- The PDF report with your logo, as a signed link.
- The measurements as JSON: roof area and footprint, squares, waste and order squares, predominant pitch, and every length (eave, rake, ridge, hip, valley, drip edge, flashing) in feet and metres. Field by field in what roof measurement data your CRM receives.
- Your reference, so your software can match it to the job.
Paying for reports
API orders are paid from a prepaid balance: each order is charged when it's placed, at the price agreed with you, and only if the balance covers it. You top up by card in Settings › Integrations › Report Ordering, or ask us to invoice you. If a report can't be completed, the full price goes back to your balance. The details are in prepaid balances, limits and refunds for API report orders.
Start with a free test
Every account can send free test orders from Settings › Integrations › Report Ordering, and with an API key your own code can send them with "test": true (on Free, keys work with test orders only). A test order is checked like a real one, never measured or charged, and comes back as delivered within seconds with a sample report and sample measurements, so you can build the whole integration before you order a real roof. Step by step in test roof report ordering for free.
When you're ready for real orders, the Enterprise plan is set up with you: use Contact sales on the pricing page.
Where you trip
- Ordering without coordinates for a rural address. The address lookup needs a street address with a house number. For a lot without one, send the roof's
latitudeandlongitude. - No idempotency key. A retry after a timeout can place a second order. Always send one.
- Ordering the same address twice. A second order for the same address within 30 days is refused with
409 duplicate_address. Send"allow_duplicate": trueif you really want a new report. - Expecting an email to your customer. RoofStruct doesn't email your customer, and the API takes no CC addresses. Your software delivers the report.
FAQ
Is the report white-label?
Yes. Reports ordered through the API carry your logo and no RoofStruct name, so you can deliver them as your own.
Can I order ESX sketch files through the API?
No. The API orders roof measurement reports, residential or commercial. ESX sketches are ordered in the app.
Which plan do I need?
Real orders through the API are part of the Enterprise plan. Free test orders work on every plan, from the Settings page or from your own code with an API key. On Free, keys and webhooks work with test orders only.
Developer docs: Order a report, Webhooks and Errors in the RoofStruct API reference.