Email templates

Replace email templates

Create or replace a list of email templates. If an email template with the same language tag and template type already exists, its details will be updated.

put/api/email-templates

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/email-templates
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Request body

Response

The list of newly created or replaced email templates.

tenantIdstring required
idstring required
languageTagstring required
templateType'SignIn' | 'Register' | 'ForgotPassword' | 'OrganizationInvitation' | 'Generic' | 'UserPermissionValidation' | 'BindNewIdentifier' | 'MfaVerification' | 'BindMfa' required
createdAtnumber required

Changes

No recorded changes to this operation across all 8 revisions of this API.