Rate this page:

Public Verification Templates

These verification templates are available for every account. If one of our public templates does not work for your use case, please get in touch.

Template Variables

The following variables are used in public templates

{{friendly_name}} The friendly name of your Verification Service.
{{code}} The 4-10 digit one-time passcode.
{{ttl}} The expiration time of the one-time passcode in minutes.

The most accurate list of templates is available via the API.

Please note that the ttl template variable cannot be changed in the verification API request once it is defined on the Verify Service configuration. The default value is 10 minutes. In case you need to customize this value, please contact your account manager.


        Possible templates are a combination of base messages with optional addendums.

        Public Template Base Messages

        1. Your {{friendly_name}} verification code is: {{code}}.
        2. {{friendly_name}} verification code for forgotten login ID is: {{code}}.

        3. {{code}} is your verification code for {{friendly_name}}.

        4. {{code}} is your authentication code for {{friendly_name}}.

        5. {{friendly_name}} verification code for password change: {{code}}.

        Public Template Addendums

        1. Our employees will never ask for the code.
        2. This code will expire in {{ttl}} minutes.

        3. Do not share this code with anyone.

        This example template combines base #5 and addendum #2 for Example Company verification code for password change: 674931. This code will expire in 10 minutes.

        template example with ttl

        Rate this page:

        Need some help?

        We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.


              Thank you for your feedback!

              Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              Refer us and get $10 in 3 simple steps!

              Step 1

              Get link

              Get a free personal referral link here

              Step 2

              Give $10

              Your user signs up and upgrade using link

              Step 3

              Get $10

              1,250 free SMSes
              OR 1,000 free voice mins
              OR 12,000 chats
              OR more