Hi @alex15,
Welcome to the Auth0 Community Forum!
You can register the M2M app and there is a node request example you can copy into the rule.
There are some best practices you want to follow concerning storing secrets and minimizing api requests. Specifically you will want to be aware of rate limits and how often this call is being made. Rules run after every successful authentication so you will likely want to make this conditional. Please review this document including those topics:
Hope this helps!
Thanks,
Dan