Sure insurance

List Sure policies

Returns the renters insurance policies tenants bought through Sure, MagicDoor's insurance partner. These are real policies underwritten by a carrier, unlike a damage waiver. The whole matching set comes back in one response, newest first.

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

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.

Query parameters

leaseIdstring

Return only policies for this lease.

propertyIdstring

Return only policies for leases on this property.

portfolioIdstring

Return only policies for leases in this portfolio.

statusesstring[]

Return only policies in these lifecycle states. Case does not matter, and a value that matches nothing is ignored rather than rejected. Repeat the parameter once per value.

ActiveExpiredCancelledEnded
includeDeletedboolean

Set to true to include deleted records as well as live ones.

default: false

Response

200 · Every matching policy. This endpoint does not paginate.

itemsobject[]

The matching policies, newest first.

totalCountinteger

How many policies were returned. Because the whole set is returned at once, this always matches the length of items.

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