Roof measurement API: what you can read and create with RoofStruct
The RoofStruct API reads roof measurements and delivered reports, returns PDF links, and creates measurements from an address. Every v1 route, the auth, limits and errors.
The RoofStruct API gives your software the roof measurements and delivered reports in a RoofStruct account: roof area, squares, pitch, nine line lengths, report status and, usually, a PDF link. It can also create a new measurement from an address. It answers at https://roofstruct.com/api/v1, authenticates with an API key from Settings › Integrations, returns JSON, and allows 120 requests a minute per key.
It is read-mostly by design. It doesn't manage customers, estimates or orders; those stay in the CRM the roofer already uses.
Authentication
Create a key under Settings › Integrations › API & Webhooks › Create Key (the full API comes with Pro and Enterprise; account owners and admins; step by step). Keys start with rs_live_ and are shown once. Send it on every request:
curl https://roofstruct.com/api/v1/me \
-H "Authorization: Bearer rs_live_..."
An X-API-Key: rs_live_... header works too. GET /v1/me returns the account and the key's name, which makes a good connection test.
Routes
| Method and path | What it does |
|---|---|
GET /v1/me |
The account and key behind this request |
GET /v1/projects |
List measurements, newest first |
POST /v1/projects |
Create a measurement from an address |
GET /v1/projects/{id} |
One measurement's details |
GET /v1/projects/{id}/measurements |
Its numbers |
GET /v1/reports |
List ordered reports, newest first |
POST /v1/reports |
Order a report (Enterprise; free test orders from Settings) |
GET /v1/reports/{id} |
One report, with a fresh PDF link once delivered (when a PDF is stored) |
GET /v1/reports/{id}/measurements |
A delivered report's numbers |
"Projects" is the API's name for what the app calls measurements. Both list routes take address (a partial match), updated_since (an ISO 8601 date-time), limit and cursor; reports also take status.
The measurements block

Every measurements route returns the same contract, roofstruct.measurements.v1. Every key is always present, null when it doesn't apply:
{
"schema": "roofstruct.measurements.v1",
"calibrated": true,
"roof_area_ft2": 2480,
"roof_area_m2": 230.4,
"squares": 24.8,
"waste_percent": 15,
"order_squares": 28.52,
"predominant_pitch": 6,
"predominant_pitch_text": "6/12",
"facet_count": 9,
"lengths_ft": { "eave": 142.5, "rake": 88.0, "ridge": 41.2, "hip": 0, "valley": 36.8 }
}
Shortened here. The full block also has footprint in both units, unpitched face, structure and penetration counts, and drip edge, step flashing, wall flashing and gutter lengths, all mirrored in lengths_m. calibrated: false means the drawing has no scale yet, so every size is null.
Reports and their PDFs
A report's status is one of new, in_progress, needs_info, delivered, closed, cancelled or refunded. Once it's delivered, pdf_url usually holds a signed link to the PDF that works for one hour; each call returns a fresh one. /measurements on a report that isn't delivered answers 409 not_delivered.
Pagination
List routes return { "data": [...], "next_cursor": "..." }. limit is 1 to 100 (default 25). Pass next_cursor back as cursor until it comes back null. On reports, updated_since picks up anything that changed since your last run. On measurements it follows the measurement's own details, not its drawing, so use the Measurement Sent webhook to hear about finished drawings, or walk the full list as in this spreadsheet export.
Rate limit and errors
120 requests per minute per key. Past that you get 429 rate_limited with a Retry-After header; wait that long and continue.
Errors share one shape:
{ "error": { "code": "not_found", "message": "No project with this id in your account." } }
| Status | Code | Means |
|---|---|---|
| 400 | invalid_parameter, invalid_json |
A bad query value or body |
| 401 | unauthorized |
Missing, malformed or revoked key |
| 402 | project_limit_reached |
The plan's measurement limit is reached |
| 404 | not_found |
Not in this account, or an unknown route |
| 409 | not_delivered, key_owner_missing |
Report not delivered yet; key maker left the account |
| 429 | rate_limited |
Slow down |
API or webhooks?
The API is pull: your code asks when it wants. Webhooks are push: RoofStruct posts to you when a report is delivered or changes status, or when someone clicks Send to Your Apps on a drawing. Most integrations use both: webhooks for new events, the API to backfill history and fetch a fresh PDF link later. For the webhook side, see verifying signatures and handling retries and duplicates.
Where you trip
- Polling for new reports. A webhook for Report Delivered does it for you and doesn't use your rate limit.
- Storing
pdf_url. It expires after an hour. Store the file, or call the report again for a new link. - Treating
nullas zero.nullmeans not measured. - Reading
in_progressas stuck. Internal review steps are reported asin_progress; it moves todeliveredon its own.
Developer docs: Projects, Reports, Webhooks and Errors in the RoofStruct API reference.