Email templates

Add or update template

This route creates or updates an email template. Select the email template using the type. The type value needs to be the name of one of the Frontegg email templates. See the dropdown for available values. Also, set the sender using senderEmail. Optionally, include values for the other available body params. Send the information for the template in the POST body. A vendor token is required for this route, it can be obtained from the vendor authentication route.

post/resources/mail/v1/configs/templates

Request

Request body

type'ResetPassword' | 'ActivateUser' | 'InviteToTenant' | 'PwnedPassword' | 'MagicLink' | 'OTC' | 'ConnectNewDevice' | 'UserUsedInvitation' | 'ResetPhoneNumber' | 'BulkInvitesToTenant' | 'MFAEnroll' | 'MFAUnenroll' | 'NewMFAMethod' | 'MFARecoveryCode' | 'RemoveMFAMethod' | 'EmailVerification' | 'BruteForceProtection' | 'SuspiciousIP' | 'MFAOTC' | 'ImpossibleTravel' | 'BotDetection' | 'SmsAuthenticationEnabled' | 'UnlockUser' | 'UnlockUserSuccess' | 'ActivateUserWithCode' | 'InviteToTenantWithCode' required
senderEmailstring
redirectURLstring

Only required for: ResetPassword, ActivateUser, InviteToTenant, MagicLink, BulkInvitesToTenant

htmlTemplatestring
subjectstring
fromNamestring
successRedirectUrlstring
activeboolean

Changes

No recorded changes to this operation across all 1 revision of this API.