# Is it possible to migrate users phone numbers from our custom DB to Auth0?

**URL:** <https://community.auth0.com/t/is-it-possible-to-migrate-users-phone-numbers-from-our-custom-db-to-auth0/70767>\
**Category:** Get Help\
**Created:** [October 4, 2021, 5:00pm UTC](https://community.auth0.com/t/is-it-possible-to-migrate-users-phone-numbers-from-our-custom-db-to-auth0/70767 "2021-10-04T17:00:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexey3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexey3/32/25922_2.png) [@alexey3](https://community.auth0.com/u/alexey3)\
**Post date:** [October 4, 2021, 5:00pm UTC](https://community.auth0.com/t/is-it-possible-to-migrate-users-phone-numbers-from-our-custom-db-to-auth0/70767/1 "2021-10-04T17:00:57Z")

</div>

Hi,  
How can we pass phone numbers from our DB to Auth0, some users have more than 1 number…  
For MFA we will use Twilio.

Please advise how to approach this.

Thank you!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 5, 2021, 7:55pm UTC](https://community.auth0.com/t/is-it-possible-to-migrate-users-phone-numbers-from-our-custom-db-to-auth0/70767/3 "2021-10-05T19:55:48Z")

</div>

Hi @alexey3,

Welcome to the Auth0 Community!

I understand that you are looking for guidance on migrating your users’ MFA phone numbers from your custom DB into Auth0.

To do so, there are a couple of options for [User Import](https://auth0.com/docs/users/import-and-export-users):

1. Use Management API to [Bulk User Import](https://auth0.com/docs/users/import-and-export-users/bulk-user-imports#request-bulk-import) to the `/jobs/users-imports` endpoint:  
– Follow this JSON [schema](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples):  
– In the `user.mfa_factors` set the users phone number in the [`phone.value`](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples#mfa-factors) property.

2. Alternatively, you could use the [User Import/Export Extension](https://auth0.com/docs/extensions/user-import-export-extension):  
– Follow the same JSON [schema](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples):  
– In the `user.mfa_factors` set the users phone number in the [`phone.value`](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples#mfa-factors) property.

For now, you may also find this example useful: [https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples#mfa-factors-examples](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples#mfa-factors-examples)

Hoped this helps! Please let me know if you have any questions. I’d be happy to help.

Thank you

---

<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:** [October 20, 2021, 7:56pm UTC](https://community.auth0.com/t/is-it-possible-to-migrate-users-phone-numbers-from-our-custom-db-to-auth0/70767/4 "2021-10-20T19:56:35Z")

</div>

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