Create a hook with python SDK

Hi there,
Is there a way to create hooks with the Auth0 Python SDK?
If not, can I still leverage this SDK somehow or do I just make a simple Python http call to the relevant management API ?

Thank you,

Hey there!

You can make a Python request to the Management API to create a hook. Here’s the endpoint:

https://auth0.com/docs/api/management/v2#!/Hooks/post_hooks

Thank you, I’ve spotted the API already. I was wondering if the Auth0 Python SDK was supporting it (which it doesn’t seem to do).

Let me check that for you

It’s not doable with the SDK.

Ref:

1 Like

Thank you for confirming!

1 Like

No worries we’re here for you!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.