Create an invite template
Adds a company-authored tenant portal invite template. The new template's kind is always Custom. Requires the settings:write permission.
Authorization
AuthorizationstringrequiredBody
application/json
namestringrequiredWhat to call the template. If the company already has a template with this name, a number is appended to make it unique.
emailobjectrequiredThe email version of the message.
textobjectrequiredThe text-message version of the message.
Response
200 · The template that was created.
idstringrequiredThe template's Snowflake id, as a decimal string.
kindenum<string>requiredWhich message in the invite sequence this template is. Everything the company creates itself is Custom.
namestringrequiredWhat the template is called in the settings screen.
isCustombooleanrequiredtrue for templates the company created, false for MagicDoor's built-in ones. Only custom templates can be deleted, and only built-in ones can be reset.
emailobjectrequiredThe email version of the message.
textobjectrequiredThe text-message version of the message.
updatedAtstringrequiredWhen the template was last saved, formatted as yyyy-MM-dd HH:mm. Unlike timestamps elsewhere in the API this is a display string, not an ISO 8601 value.
updatedByNamestringThe property manager who last saved it, as a first name and last initial. Absent when the last save was not made by a property manager.
400 · A required field is missing from the body.
401 · The access token is missing, expired, or invalid.
403 · The caller does not hold the `settings:write` permission.
A name already in use is not rejected. MagicDoor appends a number — Renewal reminder 1, then Renewal reminder 2 — and returns the name it settled on.