zenpy icon indicating copy to clipboard operation
zenpy copied to clipboard

Support for Webhooks

Open haizaar opened this issue 3 years ago • 3 comments

Good day,

With Zendesk targets being deprecated on Feb 22, 2022, it's vital for this library to support Webhooks API that superseds HTTP targets.

haizaar avatar Jan 20 '22 10:01 haizaar

@facetoe I emailed you a proposal to sponsor development of this feature. Not sure if you are just silently saying "no" or my email s got caught up in your spam bin.

haizaar avatar Jun 17 '22 12:06 haizaar

I second this feature request, my team is moving to zendesk in the fall and we need support for zenpy using Webhooks API

casual-lemon avatar Aug 18 '22 17:08 casual-lemon

@haizaar @casual-lemon made it. It is not released yet to PyPi but here it is commited. https://github.com/facetoe/zenpy#Working-with-webhooks

@facetoe could you please add me as a contributor in PyPi to let me bump a new version and upload it? My nick there is ptr314.

Ptr314 avatar Sep 05 '22 14:09 Ptr314

Hello @facetoe, @Ptr314 I am curious when it's going to be released to PyPi.

akalex avatar May 15 '23 16:05 akalex

@akalex Please confirm working as expected and we'll close.

cryptomail avatar Aug 18 '23 20:08 cryptomail

@cryptomail What version of the client should start supporting Webhooks? I am currently on 2.0.25, which does not seem to support Webhook. Proof

from zenpy.lib.api_objects import Webhook
Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: cannot import name 'Webhook' from 'zenpy.lib.api_objects' (/Users/aomyshev/venvs/ticket_hub/lib/python3.11/site-packages/zenpy/lib/api_objects/__init__.py)

akalex avatar Aug 21 '23 07:08 akalex

@akalex 2.0.26, but it's not loaded ty PyPi. (27-28-29 have issues) So, please try 2.0.30

Ptr314 avatar Aug 21 '23 08:08 Ptr314

I tried on 2.0.30. It works. 🥳 Thank you. We can resolve this issue.

akalex avatar Aug 21 '23 08:08 akalex

<3

cryptomail avatar Aug 21 '23 14:08 cryptomail