# Is there any way to trigger an API call (like with webhooks or rules) when we modify a user's metadata?

**URL:** <https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018>\
**Category:** Get Help\
**Tags:** webhooks, api, rules\
**Created:** [December 19, 2017, 3:46am UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018 "2017-12-19T03:46:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mshort](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mshort](https://community.auth0.com/u/mshort)\
**Post date:** [December 19, 2017, 3:46am UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/1 "2017-12-19T03:46:48Z")

</div>

We’re manually granting users access to our product, but would like to automate a Welcome email upon granting them access (which is done by modifying some user metadata)?

---

<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:** [December 19, 2017, 6:06pm UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/2 "2017-12-19T18:06:31Z")

</div>

There is no hook that is triggered immediately as part of an update to the user profile, however, assuming that you’re performing the update through the management API then you can consider if [this extension](https://auth0.com/docs/extensions/management-api-webhooks) addresses your requirement. However, do have in mind that the extension works by reviewing audit logs so there will be delays so you should consider if the approach is sound for what you want to perform.

---

<div class="post-metadata">

**Author:** ![mshort](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mshort](https://community.auth0.com/u/mshort)\
**Post date:** [December 19, 2017, 10:37pm UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/3 "2017-12-19T22:37:39Z")

</div>

Thank you for your response! I’ll look into the extension you’ve linked

---

<div class="post-metadata">

**Author:** ![mshort](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mshort](https://community.auth0.com/u/mshort)\
**Post date:** [December 19, 2017, 10:43pm UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/4 "2017-12-19T22:43:40Z")

</div>

Question… The docs say that most anything done through the Auth0 dashboard can be done through the Management API. If we perform the changes through the dashboard will they be in the audit logs?  
No worries if you don’t know

---

<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:** [December 19, 2017, 10:48pm UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/5 "2017-12-19T22:48:58Z")

</div>

To my knowledge, at this time changes done through the dashboard in terms of user update go through the same pipeline as they would with management API (as in they generate the same logs) so I think it would also cover that scenario. However, this is from memory, I would give it a quick test just to make sure.

---

<div class="post-metadata">

**Author:** ![mshort](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mshort](https://community.auth0.com/u/mshort)\
**Post date:** [December 19, 2017, 10:50pm UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/6 "2017-12-19T22:50:39Z")

</div>

Cool. It’s worth a shot then. 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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/is-there-any-way-to-trigger-an-api-call-like-with-webhooks-or-rules-when-we-modify-a-users-metadata/9018/7 "2018-03-02T05:57:51Z")

</div>


