Hello,
I'm trying to use a webhook created in the Zoho Desk Webhook API to update a database when tickets are deleted. However, deleting a ticket from within Zoho does not seem to trigger the webhook.
Using the API to list all webhooks, here's the webhook in question:
{"data":[
{"id":"myWebhookID",
"subscriptions":
{"Ticket_Add":
{"departmentIds":["myDept"]},
"Ticket_Delete":null
},
"url":"https://my-app.com/sync/delete-ticket",
"ignoreSourceId":null,
"createdTime":"2019-01-21T15:21:30.771Z",
"modifiedTime":"2019-01-21T15:21:30.771Z",
"createdBy":"myId",
"isEnabled":true}
]
}
Ideally this webhook will only subscribe to the delete event but in the interest of testing, I added the Add Ticket Event. When I read the application logs, the url is hit when tickets are created and I can get the payload from the request body. However, when I delete a ticket there is no request sent at all to the url. Any help on this would be appreciated!