Documentation

Roof measurement reports, by API

Send an address, get back measured roof geometry — as XML, as a white-labeled PDF, as an Xactimate .esx, or as roof diagrams. Every endpoint and concept has its own page; this one is the map. Open to read without an account — you'll need one to get a key.

API reference

Base URL: https://api.roofquery.com. Authenticate with Authorization: Bearer <your key> — except the file routes (report and storm report files), which take no key.

Copies this whole page as Markdown, so you can paste it into an assistant and have it write the integration. Nothing secret goes on the clipboard — your keys aren't included.

Get started

New here? Make a sandbox key and follow the Quick start: a free test order, delivered with its webhooks, in about a minute.

MethodPathPurpose
—Quick startKeys, sandbox versus live, and your first order in three calls
GET/api/v1/reports/sandbox/scenariosEvery test address, roof and storm, by report type, and what each does
Account-wide

One API key covers every product, every product draws on the same balance, and one set of webhook endpoints covers every report, Storm Reports included (they also answer in the response). These don't change as products are added.

MethodPathPurpose
GET/api/v1/identityWho the key belongs to, and whether it can order
GET/api/v1/balanceAvailable credit and per-product prices
GET/api/v1/webhooksList your endpoints
GET/api/v1/branding/profilesSaved brands for the contractors you order for
POST/api/v1/branding/profilesCreate a profile
GET/api/v1/branding/profiles/:idOne profile
PATCH/api/v1/branding/profiles/:idChange a profile
DELETE/api/v1/branding/profiles/:idDelete a profile and its logo
PUT/api/v1/branding/profiles/:id/logoUpload the profile's logo
DELETE/api/v1/branding/profiles/:id/logoRemove the logo, keep the profile

Your own defaults are not on this list. The account's company name, contact block, colours and logo are set in the portal under Branding. What the API takes is everything to do with the contractors you order for: a profile per contractor, logo included, named as brand when you place an order. That order keeps the brand for good. See White labeling.

Reports
MethodPathPurpose
GET/api/v1/reports/pricingReport products and prices
POST/api/v1/reports/ordersPlace an order
GET/api/v1/reports/orders/:idOrder status and measurements
GET/api/v1/reports/orders/:id/statusThe same order, plus a resolved statusDetail block
POST/api/v1/reports/orders/:id/esxAdd the Xactimate ESX to an order already placed
GET/api/v1/reports/orders/:id/pdfBranded PDF (rendered per request)
GET/api/v1/reports/orders/:id/xmlThe measurement document as XML
GET/api/v1/reports/orders/:id/esxThe same report as an Xactimate .esx, on orders that include it
GET/api/v1/reports/orders/:id/diagramsEvery diagram available for the order, already addressed
GET/api/v1/reports/orders/:id/diagrams/:structure/:typeOne roof drawing, as SVG or PNG
POST/api/v1/reports/orders/:id/revisionsRequest a revision on a completed report
GET/api/v1/reports/orders/:id/revisionsRevision history for one order
GET/api/v1/reports/revision-optionsValid revision topics and rules
Rapid Squares
MethodPathPurpose
POST/api/v1/reports/ordersOrder one, with "reportType": "rapid_squares"
GET/api/v1/reports/orders/:id/photoThe photo the outlines were traced on (no key)
Storm Reports Open beta
MethodPathPurpose
—Storm ReportsWhat a storm report is, its price and coverage
POST/api/v1/reports/ordersOrder one, with "reportType": "storm"; the response is the report
GET/api/v1/reports/orders/:idThe report, with this read's date of loss and notes
—Storm report dataEvery field of a storm report, damage chance and confidence
GET/api/v1/reports/orders/:id/pdfOne of the five PDFs, by template (no key)
GET/api/v1/reports/orders/:id/map.pngThe map on its own (no key)
Concepts
TopicWhat it covers
Sharing a reportThe file routes take no key — what that means for a link
Order lifecycleEvery status and event, and which statuses are terminal
Report dataThe totals and structures[] field reference
White labelingYour brand, or a contractor's, on the PDF, chosen when ordering
RevisionsWhen a report can be corrected, and what it costs
ErrorsEvery error code the API returns