Insurance

Get insurance statistics

Returns one set of company-wide counts for a dashboard: how many active leases are covered by a policy bought through MagicDoor's partner Sure, by a policy the tenant bought elsewhere, or by a damage waiver, how many are uncovered, and what the damage waiver fees add up to each month.

GET
https://services.magicdoor.com/tenantinsurance/company-portal/insurance/statistics

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Response

200 · The company's current insurance figures. Every count covers active leases only, so drafts and ended leases are left out.

totalUnitsinteger

How many active units the company has.

totalLeasesinteger

How many active leases are being tracked for insurance. This is the denominator for the coverage rate.

damageWaiverCountinteger

Leases covered by a damage waiver, which is a monthly fee arrangement rather than an insurance policy.

externalCountinteger

Leases covered by a policy the tenant bought elsewhere and had approved.

sureCountinteger

Leases covered by a policy bought through MagicDoor's partner Sure.

uncoveredCountinteger

Leases with no coverage of any kind right now.

monthlyDamageWaiverRevenuenumber

The monthly fees on all active damage waivers added together, in dollars.

coverageRatenumber

The share of tracked leases that are covered, as a percentage from 0 to 100, rounded to one decimal place. 0 when there are no tracked leases.

pendingExternalCountinteger

Uploaded outside policies still waiting for someone to approve or reject them.

401 · The access token is missing, expired, or not a company portal token.