SMS Twilio Verify

This API endpoint is used to create a sms code and send to a mobile to verify user phone number.

For this endpoint to work properly, the twilio settings must be configured.

Then go to the SMS Verify Section https://www.twilio.com/console/verify/services and create the service to obtain an id service

📘

This CODE can be used on Sms auth twilio or in EditUser
Auth Behavior:

  • If there is an user with this phone then will login an mark the cellphone as verified
  • If there is not an user with this phone will create the user with this phone and mark the phone as verified

Edit user behavior:

  • If the phone is already verified, a new verification code is needed to change
  • If the phone is not verified, you can sent a valid verification code ton change as verified
Language
Click Try It! to start a request and see the response here!