I am using Twillio API in my laravel application to send users an OTP, when they try to login through their mobile number. It is working fine, it is sending a message like "Your verification code is XXXXXX". My question is, is there any way so that I can customize the message text?? I want to greet my users when they try to login through the phone. I want to add the greeting line with the default line of verifying the message. Any suggestion is appreciable. Thanks in Advance.
3
Answers
Just the Verify Application/Service Name which is conveyed in the message.
Friendly Name (used in the Verification message templates)
Twilio developer evangelist here.
By default you cannot customise the message. As Alan points out, the application name can be set as the service friendly name, which inserts the name in the message
But this does not allow you to directly customize the text on a per user basis.
There are customization options available but you need to talk to Twilio sales to enable them.
If You want message like this :
then change your verify service name from twilio console as Grocery-store