Vendors

List every active vendor

Returns every active vendor in one response, for filling a picker. There is no paging: the whole set comes back, and the pagination fields are filled in to describe that single page. Deactivated vendors are always excluded, whatever you pass. Requires the vendors:read permission.

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

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

namestring

Only vendors whose name matches.

categoryIdstring

Only vendors in this vendor category.

phoneNumberstring

Only vendors with this phone number.

emailstring

Only vendors with this email address.

isCompanyVendorboolean

true returns only the record that stands for the management company itself; false excludes it.

activeboolean

true returns only vendors that are still active; false returns only deactivated ones.

searchstring

Free-text search across the vendor.

portalStatusenum<string>

Only vendors at this stage of portal sign-up.

notInvitedinvitedactive

Response

200 · Every active vendor that matches, in the same envelope the paged list uses. `page` is always 1, `totalPages` is always 1, and `pageSize` equals the number of vendors returned.

itemsobject[]required

Every matching active vendor.

totalCountintegerrequired

How many vendors match in total.

totalPagesintegerrequired

How many pages there are at this page size.

pageintegerrequired

The page that was returned. Counting starts at 1.

pageSizeintegerrequired

How many vendors 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 `vendors:read` permission.

The active filter is not yours to set

This endpoint forces the active filter on before it runs, so sending active=false still returns only active vendors. Use List vendors when you need the deactivated ones.