# Using the Management API to generate magic links?

**URL:** <https://community.auth0.com/t/using-the-management-api-to-generate-magic-links/8312>\
**Category:** Get Help\
**Tags:** magic, generate-jwt, magic-link, management-api\
**Created:** [September 27, 2017, 11:00am UTC](https://community.auth0.com/t/using-the-management-api-to-generate-magic-links/8312 "2017-09-27T11:00:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan.harvey97](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ryan.harvey97/32/4286_2.png) [@ryan.harvey97](https://community.auth0.com/u/ryan.harvey97)\
**Post date:** [September 27, 2017, 11:00am UTC](https://community.auth0.com/t/using-the-management-api-to-generate-magic-links/8312/1 "2017-09-27T11:00:51Z")

</div>

I have a bit of an edge-case with my application, I need to find a way of generating magic links on the fly without having the user check their email. Is it possible to do with the Management API?

Thanks,  
Ryan

---

<div class="post-metadata">

**Author:** ![Mark\_Redman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mark_redman/32/6240_2.png) [@Mark\_Redman](https://community.auth0.com/u/Mark_Redman)\
**Post date:** [October 23, 2017, 2:17am UTC](https://community.auth0.com/t/using-the-management-api-to-generate-magic-links/8312/2 "2017-10-23T02:17:43Z")

</div>

Is this possible out the box? If not, how secure and practical would it be to generate a “magic” redirect link for login where the request for the link will update a user metadata value, generate a link to login and then invalidate immediately after on callback via a rule?

---

<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:56am UTC](https://community.auth0.com/t/using-the-management-api-to-generate-magic-links/8312/3 "2018-03-02T05:56:42Z")

</div>


