Msg91 Help Doc
API
How do resolve the error OTP not found and placeholder not found in the message?

How do resolve the error OTP not found and placeholder not found in the message?


Use the placeholder for OTP in the message content as ##OTP## or if you are passing the value of OTP from your end then you need to put the same in the message as well.


In the Get method, kindly encode the ##OTP## and then pass the same in API, and in the Post method, you can directly pass ##OTP##.


Sample Get Method: http://control.msg91.com/api/sendotp.php?sender=MSGIND&authkey=Yourauthkey&message=your verification code is %23%23OTP%23%23&mobile=919999999999&DLT_TE_ID=111111111111111111


Sample OTP API with OTP value: http://control.msg91.com/api/sendotp.php?authkey=authkey&mobiles=919999999999&sender=SENDER&otp=1234&DLT_TE_ID=1111111111111111111&message=1123 is your otp


For any further assistance, contact us at [email protected]

Prev