# Hooks or Actions that can call company intranet api

**URL:** <https://community.auth0.com/t/hooks-or-actions-that-can-call-company-intranet-api/81933>\
**Category:** Get Help\
**Tags:** hook, actions, forum\
**Created:** [April 18, 2022, 7:16pm UTC](https://community.auth0.com/t/hooks-or-actions-that-can-call-company-intranet-api/81933 "2022-04-18T19:16:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dchoi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dchoi/32/34389_2.png) [@dchoi](https://community.auth0.com/u/dchoi)\
**Post date:** [April 18, 2022, 7:16pm UTC](https://community.auth0.com/t/hooks-or-actions-that-can-call-company-intranet-api/81933/1 "2022-04-18T19:16:57Z")

</div>

Hello I am calling the auth0 management api and it works fine. However once certain things happen, for example a new user is created, I would like to run a hook or action that can update our own network db using an internal api. It’s a Hasura api.

How can I do this and which do I use hook or action. Your docs say that actions dont support private cloud, which I take to mean intranet? Is this correct? Is there a doc for this?

---

<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:** [April 18, 2022, 11:02pm UTC](https://community.auth0.com/t/hooks-or-actions-that-can-call-company-intranet-api/81933/3 "2022-04-18T23:02:37Z")

</div>

Hi @dchoi,

Thanks for reaching out to the Auth0 Community!

> [@dchoi](#):
>
> How can I do this and which do I use hook or action.

Let me preface that Auth0 Hooks will deprecate sometime in 2022. Therefore, to avoid duplicating efforts, I suggest using Auth0 Actions.

In this case, you could try calling your Hasura API after the new user-created event happens.

> [@dchoi](#):
>
> Your docs say that actions dont support private cloud, which I take to mean intranet? Is this correct? Is there a doc for this?

That is correct. Our [Actions Limitations](https://auth0.com/docs/customize/actions/limitations) documentation describes that Actions is not available on Private Cloud. The Private Cloud it is referring to is a paid add-on feature for Enterprise subscription plans.

See [Deploy Private Cloud](https://auth0.com/docs/deploy-monitor/deploy-private-cloud) and [Auth0 Subscription Plan comparisons](https://auth0.com/pricing) for more details.

If you need further assistance, please let me know which endpoints you intend to use with Hasura, and we can implement them in an Action.

Thank you.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 21, 2022, 6:11pm UTC](https://community.auth0.com/t/hooks-or-actions-that-can-call-company-intranet-api/81933/4 "2022-12-21T18:11:12Z")

</div>


