I have a need to get data from the backend through a Webhook/API after the ticket is updated. The ticket gets an update from through an API and then I need to trigger off that to look up a data to add to the ticket. Is this possible?
Can I use a webhook and trigger to get data from the backend?
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
I hope all is well! Yes, you are able to use webhooks to get data, please check our developer's page so you have all the API references that can be used to gather ticket data: https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/
However, please, be aware that Web developers typically use webhooks to invoke behavior in another system. You have mentioned that you would like to collect data and add it to the ticket. Even though it is possible to update tickets via Webhooks, we do not recommend this and this is addressed in the article "Can I use a trigger and a webhook to update tickets?" - https://support.zendesk.com/hc/en-us/articles/4408882855578-Can-I-use-a-trigger-and-a-webhook-to-update-tickets-
For more information about creating Webhooks, please check: https://support.zendesk.com/hc/en-us/articles/4408839108378-Creating-webhooks-in-Admin-Center
I hope it helps!