Insurance

Get a lease's insurance history

Returns every insurance record ever created for one lease, newest first, mixing policies bought through MagicDoor's partner Sure, policies the tenant bought elsewhere and uploaded, and damage waivers, alongside the lease's current coverage.

GET
https://services.magicdoor.com/tenantinsurance/company-portal/insurance/{leaseId}

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.

Path parameters

leaseIdstringrequired

The lease to read the insurance history for.

example: 1842910736482304512

Response

200 · The lease's current coverage and its full record history, newest record first.

statusobject

The lease's stored coverage summary. Absent when nothing has ever been recorded for this lease.

leaseStatusenum<string>

A single label a property manager can act on. active means covered. requiresInsurance means never covered, insuranceExpired means covered before but not now. externalPendingReview and externalRejected describe uploaded proof waiting on or refused by a reviewer. The three damageWaiver values describe where the lease sits in the damage waiver flow. leaseInactive means the lease is a draft or has ended.

leaseInactiveactiverequiresInsuranceinsuranceExpiredexternalPendingReviewexternalRejecteddamageWaiverInGracePerioddamageWaiverGracePeriodEndeddamageWaiverOptedOut
historyobject[]

Every non-deleted insurance record for the lease, from all three sources, sorted newest first by when the record was created.

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

404 · No such lease, or the lease belongs to another company.