# Not able to get verification otp/sms when sending "verify\_phone\_number": true

**URL:** <https://community.auth0.com/t/not-able-to-get-verification-otp-sms-when-sending-verify-phone-number-true/137740>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [June 28, 2024, 8:12pm UTC](https://community.auth0.com/t/not-able-to-get-verification-otp-sms-when-sending-verify-phone-number-true/137740 "2024-06-28T20:12:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh.solanki](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mahesh.solanki/32/60295_2.png) [@mahesh.solanki](https://community.auth0.com/u/mahesh.solanki)\
**Post date:** [June 28, 2024, 8:12pm UTC](https://community.auth0.com/t/not-able-to-get-verification-otp-sms-when-sending-verify-phone-number-true/137740/1 "2024-06-28T20:12:44Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
Hi, I am trying update the user’s phone\_number through update user management API PATCH /api/v2/users/{id} and sending the following body  
{  
“phone\_number”: “+918888888888”,  
“verify\_phone\_number”: true  
},  
The phone number is getting updated successfully as expected,  
But I was expecting a verification code/otp/sms which I am not getting.  
The reason I was expecting the code/sms/otp is that , when we update an email and send “verify\_email”:true, we get a verification mail to the provided email, I was expecting the same behaviour for phone update.  
Can anyone help on this OR provide a way to handle phone verification using Auth0 Forms  
**Note** : I have configured Twilio  
**Note** : I am using a custom angular code to do self serve.

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [May 14, 2025, 5:49pm UTC](https://community.auth0.com/t/not-able-to-get-verification-otp-sms-when-sending-verify-phone-number-true/137740/3 "2025-05-14T17:49:23Z")

</div>

Hi @mahesh.solanki,

Welcome to the Auth0 Community!

Unfortunately, as mentioned in the docs, the user will receive a text after changing the phone number only when changing the phone number if they’re part of an SMS connection.

> **[Auth0 Management API v2](https://auth0.com/docs/api/management/v2/users/patch-users-by-id)**

If you have any other questions, feel free to reach out.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 28, 2025, 5:49pm UTC](https://community.auth0.com/t/not-able-to-get-verification-otp-sms-when-sending-verify-phone-number-true/137740/4 "2025-05-28T17:49:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
