Email templates

Get email templates

Get the list of email templates.

get/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)

Query parameters

languageTagstring

The language tag of the email template, e.g., en or fr.

templateType'SignIn' | 'Register' | 'ForgotPassword' | 'OrganizationInvitation' | 'Generic' | 'UserPermissionValidation' | 'BindNewIdentifier' | 'MfaVerification' | 'BindMfa'

The type of the email template, e.g. SignIn or ForgotPassword

Response

The list of matched email templates. Returns empty list, if no email template is found.

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.