# Manage the "Forgot Password Text Message" mobile phone number using REST API

**URL:** <https://devforum.okta.com/t/manage-the-forgot-password-text-message-mobile-phone-number-using-rest-api/8683>\
**Category:** API\
**Tags:** api\
**Created:** [April 1, 2020, 8:51am UTC](https://devforum.okta.com/t/manage-the-forgot-password-text-message-mobile-phone-number-using-rest-api/8683 "2020-04-01T08:51:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![odpeer](https://avatars.discourse-cdn.com/v4/letter/o/aeb1de/32.png) [@odpeer](https://devforum.okta.com/u/odpeer)\
**Post date:** [April 1, 2020, 8:51am UTC](https://devforum.okta.com/t/manage-the-forgot-password-text-message-mobile-phone-number-using-rest-api/8683/1 "2020-04-01T08:51:19Z")

</div>

I want to manage the phone number used in the “Forgot Password Text Message” flow using the REST API.  
I cannot find a suitable API to manage this setting.  
 ![image](https://global.discourse-cdn.com/oktadev/original/2X/7/768a1024e8a07fcf020f2b16dc4d3d1343c41510.png)

I see the Okta UI uses

```auto
https://{{url}}/user/profile/mobile_phone
'smsFactor=true&countryCode={{code}}&phoneNumber={{number}}'

```

which is not using the users API `/api/v1/users`

Is there a documented API for setting this value?

---

<div class="post-metadata">

**Author:** ![sm1lik](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@sm1lik](https://devforum.okta.com/u/sm1lik)\
**Post date:** [June 24, 2021, 12:15pm UTC](https://devforum.okta.com/t/manage-the-forgot-password-text-message-mobile-phone-number-using-rest-api/8683/2 "2021-06-24T12:15:37Z")

</div>

Hi, i faced the same problem. How to do this using Okta REST API?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 6:34pm UTC](https://devforum.okta.com/t/manage-the-forgot-password-text-message-mobile-phone-number-using-rest-api/8683/3 "2024-02-08T18:34:59Z")

</div>

Closed on February 8, 2024, 6:34pm UTC


