List the placeholders a template can use
Returns every placeholder key that can be written into a template of a given kind: the data keys that get filled from the lease, unit, property and company, and the signature keys that mark where someone signs.
Authorization
AuthorizationstringrequiredQuery parameters
templateTypeenum<string>requiredWhich kind of template to list keys for. Different kinds expose different keys.
Response
200 · The placeholder keys, as a plain array.
keystringThe placeholder to write into the Word file, for example unit/address/city.
namestringHuman-readable name for the key.
descriptionstringWhat the key is filled with. Absent when there is no description.
groupstringWhich group the key belongs to, so the editor can list keys under headings.
kindstringData for a key filled from MagicDoor's records, Signature for a key that marks where someone signs. PascalCase, not camelCase.
401 · The access token is missing, expired, or not valid for this company.
Most enums in this API come back camelCased. This one does not: it is turned into a string by hand, so you get Data and Signature, not data and signature.
The list is computed from the template type, not stored, so it is the same for every company. It does not need an id and does not touch the database.