Tenant portal invite templates

List invite merge fields

Returns the placeholder tokens that can be written into an invite template and the label to show for each. The same fixed list comes back for every company. Requires the settings:read permission.

GET
https://services.magicdoor.com/settings/company-portal/settings/tenant-portal-invite-templates/merge-fields

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 available merge fields.

tokenstringrequired

The token to write into a template, without the braces.

labelstringrequired

A human-readable name for the token.

401 · The access token is missing, expired, or invalid.

403 · The caller does not hold the `settings:read` permission.

Write a token into an email subject, email body or text body wrapped in single braces — {TenantName} — and MagicDoor substitutes the tenant's own value when the message is sent.