Maintenance requests

List maintenance requests

Returns a page of the company's maintenance requests — what tenants and staff have reported as needing fixing, before any job is scheduled. Every filter below is optional and they combine. Requires the maintenance_requests:read permission.

GET
https://services.magicdoor.com/maintenance/company-portal/maintenance-requests

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

pageinteger

Which page to return. Counting starts at 1.

default: 1
pageSizeinteger

How many records to return per page. Between 1 and 100.

default: 50
propertyIdstring

Only requests on this property.

unitIdstring

Only requests on this unit.

portfolioIdstring

Only requests in this portfolio.

tenantIdstring

Only requests filed by this tenant.

leaseIdstring

Only requests against this lease.

runBookIdstring

Only requests currently handled by this runbook.

statusenum<string>[]

Only requests in these states. Repeat the parameter to pass more than one.

closedpendinginProgressaiProcessingwaitingForWorkOrder
urgencyenum<string>

Only requests at this urgency.

urgenthighmediumlownone
categoryIdstring

Only requests filed under this maintenance request category.

searchTextstring

Free-text search across the request.

created.startstring · date-time

Only requests filed on or after this moment.

created.endstring · date-time

Only requests filed on or before this moment.

newboolean

true narrows to requests that are not closed and were filed inside the company's recent-requests window. It tightens status and created.start rather than replacing them, so a wider created.start you send is pulled in to the window.

openboolean

true drops closed requests. If you also send status, the closed value is removed from what you asked for.

Response

200 · One page of results.

itemsobject[]required

The requests on this page. This is the short row shape — call Get a maintenance request for the description, the files and the linked work order.

totalCountintegerrequired

How many records match in total, across all pages.

totalPagesintegerrequired

How many pages there are at this page size.

pageintegerrequired

The page that was returned. Counting starts at 1.

pageSizeintegerrequired

How many records were asked for per page.

401 · The request carried no valid access token.

403 · The token is not a property manager token, or it lacks the `maintenance_requests:read` permission.