0

I am using Twillio API in my node application (API) to send users an OTP, when they try to login through their mobile number. It's fine, but the code lenght is six numbers anf I want to create a code of five o four numbers. My questions is Can I customize the code lenght from api node code? I mean, in the code I can customize? Or I must to custumize the code lenght from the account on twilio? Somebody knows? I need help. Please, I searched in internet and in the document but I dont found an anwers

Izlia
  • 235
  • 1
  • 2
  • 18

1 Answers1

1

Yes You can customize length of OTP from your Twillio account.

Login your twilio account.
go to your otp verification service.You will find 
CODE LENGTH property over there. Set length whatever you want and save service.

Hope it helps.