Is webhook endpoint available via JWT authentication in Python SDK?
AnsweredIs it possible to create webhooks in Python SDK by authenticating via JSON web token for a custom app?
-
Official comment
Hello Chrissy,
Yes it is! Take a look at the webhook documentation in the python SDK.
Best,
Kourtney
Comment actions -
Hi Kourtney,
Thanks!
The link you provided, however, does not mention any authentication methods supported as far as I can tell. The client object in the snippets, when authenticating via JWT, I recieve 403 error "insufficient scope" with error description "The request requires higher privileges than provided by the access token."
.As opposed to using 1h temporary developer token (authenticating as my personal user), I successfully create the webhooks.
Are you sure that client.create_webhook() is supported when client is initiated using JWT?
Kr.
Please sign in to leave a comment.
Comments
2 comments