Overview

This guide explains how resellers can configure SMS and WhatsApp Login OTP templates for their users’ login authentication through the White Label configuration panel.

Accessing OTP Template Configuration

  1. Log in to your reseller panel
  2. Navigate to White Label → Set Theme
  3. Look for Login OTP (OTP Configuration)
  4. Select to expand the OTP template configuration panel

Channel Type Selection

Available Options

  • SMS Only: Send OTP via SMS only
  • WhatsApp Only: Send OTP via WhatsApp only
  • Both SMS & WhatsApp: Allow users to choose between SMS and WhatsApp

How to Select

  1. In the Channel Type dropdown, select your preferred option
  2. The form will automatically show/hide relevant configuration fields based on your selection

SMS OTP Configuration

Required Fields

1. OTP Message Template

  • Field: OTP Message
  • Purpose: Custom message sent to users
  • Placeholders Available:
    • {OTP} – The actual OTP code
    • {USERNAME} – User’s username

Example Messages:

  • “Your login OTP is {OTP}. Valid for 5 minutes.”
  • “Hello {USERNAME}, your verification code is {OTP}.”
  • “OTP: {OTP} – Use this code to verify your login.”

2. Sender ID Selection

  • Field: Select Sender ID
  • Purpose: Choose the sender name for SMS
  • Note: Must be approved by telecom authorities

3. DLT Template ID (If Applicable)

  • Field: DLT Message Template ID
  • Purpose: Required for Indian SMS compliance
  • Note: Only required for Indian SMS traffic

WhatsApp OTP Configuration

Required Fields

1. API URL

  • Field: API URL
  • Purpose: WhatsApp Business API endpoint
  • Examplehttps://api.example.com/send

2. Headers Configuration

  • Purpose: Authentication and content-type headers
  • How to Add Headers:
    1. Click Add Header button
    2. Enter header name in Key field
    3. Enter header value in Value field
    4. Repeat for additional headers
    5. Use × button to remove headers

3. Request Body Template

  • Field: Body
  • Purpose: Message template for WhatsApp API in JSON format
  • Placeholders Available:
    • {OTP} – The actual OTP code
    • {phone} – Recipient’s phone number

Step-by-Step Setup Process

For SMS Only Setup

  1. Select Channel Type: Choose “SMS” from dropdown
  2. Configure Message: Enter your OTP message template
  3. Select Sender ID: Choose from available sender IDs
  4. Add DLT Template: Enter DLT template ID (if applicable)
  5. Save Configuration: Click save to apply changes

For WhatsApp Only Setup

  1. Select Channel Type: Choose “WhatsApp” from dropdown
  2. Enter API URL: Provide your WhatsApp Business API endpoint
  3. Configure Headers: Add authentication headers
  4. Set Body Template: Enter message template
  5. Save Configuration: Click save to apply changes

For Both SMS & WhatsApp Setup

  1. Select Channel Type: Choose “Both SMS & WhatsApp”
  2. Configure SMS Section: Complete SMS template setup
  3. Configure WhatsApp Section: Complete WhatsApp template setup
  4. Save Configuration: Click save to apply changes

Testing Your Configuration

SMS Testing

  1. Use your own mobile number for testing
  2. Trigger OTP from login page
  3. Verify message format and sender ID
  4. Check delivery time and success rate

WhatsApp Testing

  1. Send test message to your WhatsApp number
  2. Verify message format and template rendering
  3. Test with different phone number formats

Troubleshooting Common Issues

SMS Issues

Problem: SMS not delivered

  • Check sender ID approval status
  • Verify DLT template ID for Indian numbers
  • Check SMS gateway balance and configuration

Problem: Wrong message format

  • Verify placeholder syntax {OTP}{USERNAME}
  • Check message length limits

WhatsApp Issues

Problem: API authentication failed

  • Verify access token in headers
  • Check API URL format
  • Ensure proper content-type header

Problem: Template not rendering

  • Verify message template format
  • Check placeholder format {OTP}{phone}
  • Ensure template is approved in WhatsApp Business Manager

Best Practices

SMS Configuration

  1. Keep messages under 160 characters for single SMS
  2. Include validity period and security warnings
  3. Use your company name in sender ID
  4. Ensure DLT template approval for Indian traffic

WhatsApp Configuration

  1. Use pre-approved message templates
  2. Test with your own number before going live
  3. Always have SMS fallback for WhatsApp failures

Support and Resources

Getting Help

  • Technical Support: Contact SMPPCenter support team
  • Community: Join SMPPCenter community forums

Additional Resources

  • WhatsApp Business API Documentation
  • SMS Gateway Provider Documentation
  • DLT Portal (for Indian SMS compliance)
  • SMPPCenter Knowledge Base

Conclusion

Proper OTP template configuration ensures reliable and secure user authentication. Follow this guide to set up your SMS and WhatsApp OTP templates correctly. Always test your configuration thoroughly before deploying to production users.

For additional support or questions, contact the SMPPCenter support team through your reseller panel.


Save this interesting page on your Favorite Social Media