Skip to main content

SMS Gateways & Verification

CMP supports sending transactional SMS messages — including one-time passwords (OTP) for mobile verification during customer registration — through external SMS service providers.


Overview

When customer mobile verification is enabled, users entering their mobile number during signup must verify ownership via an OTP SMS before completing registration or accessing services.

CMP delegates SMS transmission to dedicated third-party SMS gateways.

Supported Providers

ProviderStatusPrimary Route / RegionDLT Support (India)Configuration Page
MSG91SupportedGlobal / IndiaYes (Flow ID & Approved Sender ID)MSG91 Integration
TwilioSupportedGlobal / InternationalStandard Carrier ComplianceTwilio Integration
Spinning DiskSupportedEnterprise / IndiaYes (Entity ID & Template ID)Spinning Disk Integration

How Configuration Works

1. Backend Gateway Credentials (.env)

CMP maintains SMS provider credentials in application .env files:

  1. Review the required parameters for your chosen provider below.
  2. Provide the credentials to the StackConsole Deployment & Support team.
  3. The StackConsole team updates the backend environment files on your CMP application servers.

(Self-service UI settings for SMS gateway management will be introduced in an upcoming release).

2. Admin Global Settings Flags

Once gateway credentials are configured in .env, manage feature activation and enforcement under Admin Panel → Global Settings:

Global SettingValuesDefaultPurpose
enable_phone_inputtrue / falsefalseEnables phone number input fields across the platform. Must be set to true.
enable_mobile_verificationtrue / falsefalseActivates OTP SMS dispatch for registration and profile mobile changes.
enforce_mobile_verificationtrue / falsefalseMakes mobile verification compulsory (true) or optional (false) during registration.

Customer User Experience

Registration Flow (Step 1 — Verify Email & Mobile No)

When enable_mobile_verification is active, customers see side-by-side verification panels on the registration screen. If enforce_mobile_verification is true, customers cannot proceed to the next registration step until their mobile number is verified.

Screenshot: CMP Registration — Verify Email and Mobile Number

Profile Update (Change Mobile Number)

Customers can update their mobile number from Personal Details → Mobile Number → Change. Clicking Send OTP sends a verification code to the new phone number before the profile record is updated.

Screenshot: CMP Customer Portal — Change Mobile Number Modal


General Verification Flow


Providers in this Section

  • MSG91 — Flow ID, Auth Key, and Sender ID configuration for India DLT and global messaging.
  • Twilio — Account SID, Auth Token, and E.164 From Number for global reach.
  • Spinning Disk — Auth Key, Sender ID, Entity ID, and Template ID mapping for enterprise routes.