Letter template groups

Create a letter template group

Creates an empty group that letter templates can then be filed under. Requires the letter_templates:write permission.

POST
https://services.magicdoor.com/communications/company-portal/letter-templates/groups

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.

Body

application/json

namestringrequired

The group's name, 1 to 250 characters. Names are not required to be unique.

Response

200 · The group that was created.

idstringrequired

The letter template group. A 64-bit number sent as a string.

namestringrequired

The group's name, as the property manager typed it.

createdstring · date-timerequired

When the group was created, in the company's timezone and with no offset.

updatedstring · date-timerequired

When the group was last renamed, in the company's timezone and with no offset.

400 · `name` is missing, blank, or longer than 250 characters.

401 · The access token is missing, expired, or not a property-manager token.

403 · The token is valid but the caller does not hold the `letter_templates:write` permission.