Skip to main content

SMS templates

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

WSO2 Identity Platform organizations use several SMS templates to send SMS notifications to users.

note

SMS templates in WSO2 Identity Platform​

The following is a list of all SMS templates available in WSO2 Identity Platform.

Template IDDescription
SMSOTPThese SMS messages are sent when a user attempts to sign in to an account using SMS OTP. The OTP can be displayed using the {{confirmation-code}} literal.
passwordResetThese SMS messages are sent when a user attempts to recover the password using SMS OTP. The OTP can be displayed using the {{confirmation-code}} literal.
adminForcedPasswordResetThis SMS is sent to provide a one-time password when admin initiates a password reset for a user. The OTP can be displayed using the {{confirmation-code}} literal.
resendAdminForcedPasswordResetThis SMS is sent to provide a one-time password when admin resends a password reset request. The OTP can be displayed using the {{confirmation-code}} literal.

Literals in SMS templates​

Literals are placeholders used to display dynamic information in SMS templates. The following are the template literals that are accessible for all SMS templates in WSO2 Identity Platform.

General literals​

The following user-related literals are accessible for all SMS templates.

LiteralDescription
{{user-name}}Name of the user account.
{{userstore-domain}}Name of the user store.
{{organization-name}}Name of the organization. Insert this placeholder where you want to display the organization's name in a human-readable format.
{{tenant-domain}}Domain name specific to the organization. For root organizations, this is the human-readable domain name. For other organizations, it is the UUID.
{{current-year}}Current calendar year.
note

Root organizations created before October 2022 will utilize {{ tenant-domain }} as the placeholder to represent the organization name. As this placeholder may not provide the organization name in a human-readable format, consider updating it to {{ organization-name }} as needed for clarity and ease of understanding.

Was this page helpful?