# I need to store auth0 user\_id in custom DB

**URL:** <https://community.auth0.com/t/i-need-to-store-auth0-user-id-in-custom-db/97998>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [January 12, 2023, 1:49am UTC](https://community.auth0.com/t/i-need-to-store-auth0-user-id-in-custom-db/97998 "2023-01-12T01:49:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinoth.sivakumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vinoth.sivakumar/32/42555_2.png) [@vinoth.sivakumar](https://community.auth0.com/u/vinoth.sivakumar)\
**Post date:** [January 12, 2023, 1:49am UTC](https://community.auth0.com/t/i-need-to-store-auth0-user-id-in-custom-db/97998/1 "2023-01-12T01:49:33Z")

</div>

i have an issue with custom DB, Im using auth0 management API to create user and store it in my custom DB(MongoDB), When I create user, User\_id (auth0 generated) is not storing in custom DB. How to do that?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 20, 2023, 8:41pm UTC](https://community.auth0.com/t/i-need-to-store-auth0-user-id-in-custom-db/97998/3 "2023-01-20T20:41:54Z")

</div>

Hi @vinoth.sivakumar,

Welcome to the Auth0 Community!

Can you give us a bit more info? How are you trying to store it, do you see an error?

---

<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:** [March 28, 2023, 1:20pm UTC](https://community.auth0.com/t/i-need-to-store-auth0-user-id-in-custom-db/97998/4 "2023-03-28T13:20:18Z")

</div>

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