Lease template categories

List lease template categories

Returns the categories lease templates are filed under, including MagicDoor's built-in ones.

GET
https://api.portal.magicdoor.com/company-app/lease-templates/categories

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 categories.

idstring

Id of the category. A Snowflake id, sent as a decimal string.

namestring

Category name. 1 to 150 characters.

isDefaultboolean

True for MagicDoor's built-in categories, false for ones the company added.

401 · The access token is missing, expired, or not for this company.