Tool to send OTP (One-Time Password) to a mobile number using a pre-configured MSG91 template. Use when you need to verify user phone numbers for authentication, account registration, password reset, or transaction confirmation.
otpstringCustom OTP value to send. If not provided, MSG91 will auto-generate an OTP based on otp_length parameter. Use this when you need to send a specific OTP code.
mobileRequiredstringRecipient mobile number in international format with country code (e.g., '919999999999' for India, '15551234567' for USA). Do not include '+' prefix or spaces.
useripstringEnd user's IP address for security tracking and fraud prevention. Helps identify the request origin.
unicodeintegerSet to 1 for sending SMS in non-English languages (Hindi, Arabic, Chinese, etc.). Set to 0 for English only. Default: 0
invisibleintegerFor MOBILE APP only (do not use for web browsers). Set to 1 to enable invisible OTP verification, 0 to disable. Default: 0
otp_expiryRequiredintegerOTP expiry time in minutes. Minimum: 1 minute, Maximum: 10080 minutes (7 days), Default: 60 minutes. After this duration, the OTP becomes invalid.
otp_lengthintegerNumber of digits in the auto-generated OTP. Minimum: 4, Maximum: 9, Default: 4. Only applies when 'otp' parameter is not provided.
template_idRequiredstringOTP template ID from the OTP section of MSG91 dashboard. This template defines the SMS content format with OTP placeholder.
realTimeResponseRequiredintegerSet to 1 to enable real-time response due to caching. This provides immediate delivery status. Set to 0 for standard response.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.