# Rules for user registration not retrieved via management API

**URL:** <https://community.auth0.com/t/rules-for-user-registration-not-retrieved-via-management-api/6294>\
**Category:** Get Help\
**Tags:** rules, signup\
**Created:** [April 20, 2017, 12:49pm UTC](https://community.auth0.com/t/rules-for-user-registration-not-retrieved-via-management-api/6294 "2017-04-20T12:49:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lionel.port](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@lionel.port](https://community.auth0.com/u/lionel.port)\
**Post date:** [April 20, 2017, 12:49pm UTC](https://community.auth0.com/t/rules-for-user-registration-not-retrieved-via-management-api/6294/1 "2017-04-20T12:49:24Z")

</div>

Rules registered for user\_registration stage don’t seem to be visible in the dashboard or api.

When I call /api/v2/rules I get empty result but when I try and create a rule with the stage=user\_registration I get an error that a rule with the same order already exists.

How do I find all the rules already defined with a stage other than login\_success or find the id of the existing rule that is in conflict so I can delete it?

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [April 21, 2017, 2:38pm UTC](https://community.auth0.com/t/rules-for-user-registration-not-retrieved-via-management-api/6294/2 "2017-04-21T14:38:34Z")

</div>

Can you provide the request body you are passing to the Create Rules endpoint? Feel free to omit the script.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [April 21, 2017, 8:53pm UTC](https://community.auth0.com/t/rules-for-user-registration-not-retrieved-via-management-api/6294/3 "2017-04-21T20:53:55Z")

</div>

You can perform a (GET) request to `/api/v2/rules?stage=user_registration` so that you can retrieve the ID of the rule in question. **Have in mind that it’s not recommended to use this stage** and as such the associated documentation was removed. If you have existing rules in this stage you can manage them through the API, but the API explorer documentation won’t show you that information, hence the confusion.

If you want to move away from user registration rules you may have a look at the recent [hooks](https://auth0.com/docs/hooks) functionality to see if they address your scenarios. **In conclusion, if you did not have existing rules on that stage avoid creating them now** ; if you already had rules you can still manage them through the API although the documentation no longer references them.

---

<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 2, 2018, 5:53am UTC](https://community.auth0.com/t/rules-for-user-registration-not-retrieved-via-management-api/6294/4 "2018-03-02T05:53:23Z")

</div>


