template-builder

Login security code WhatsApp template
free example, ready for approval

Authentication template to send a one-time login or two-factor code to SaaS users over WhatsApp. Copy-code button included.

Official template, maintained by Talqui

123456 is your verification code. For your security, do not share this code.
Copy code

81% approval rate

Share of submissions of this template that Meta approved.

Language
en_US

✳Approval tip

How to get this template approved

Use COPY_CODE for the simplest setup; one-tap and zero-tap need Android app signatures. Keep expiry at 5 to 10 minutes.

Login security code message example

One-time verification code with a copy button.

</>For developers

Create the login security code template on Meta, free

The template as JSON for @talqui-oss/template-builder, and the Cloud API request that creates it. Replace the $ variables with your account values.

saas_login_security_code.json

{
  "name": "saas_login_security_code",
  "language": "en_US",
  "category": "AUTHENTICATION",
  "body": {
    "addSecurityRecommendation": true
  },
  "footer": {
    "codeExpirationMinutes": 10
  },
  "button": {
    "type": "OTP",
    "otpType": "COPY_CODE"
  }
}

Create with the Meta Cloud API

curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H "Authorization: Bearer $META_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "saas_login_security_code",
  "language": "en_US",
  "category": "AUTHENTICATION",
  "components": [
    {
      "type": "BODY",
      "add_security_recommendation": true
    },
    {
      "type": "FOOTER",
      "code_expiration_minutes": 10
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "OTP",
          "otp_type": "COPY_CODE"
        }
      ]
    }
  ]
}'

+Related

More free saas and software WhatsApp templates