External API call in Auth0 Rules

Hi @Vandit,

Rules are JS functions built on Node. This means JQuery and AJAX aren’t applicable here.

Take a look at this page to see what Node modules are available in rules.

This FAQ shows an example API call to the management API. Although this is another auth0 API, you should be able to take this example and apply it to your scenario.

Hope this helps,
Dan