Webhook timetracking_deleted: Get timestamps of deleted entries

Hi,

I am working on an API flow to synchronize another time tracking tool with awork as the source. Is there a way to obtain the timestamp of a deleted time entry when the corresponding webhook is triggered in awork? The webhooks for timetracking_added and timetracking_updated include the old/new timestamps in the Changes Array, but unfortunately the webhook for timetracking_deleted does not. The timestamps would be helpful for searching the entry in the other tool, so that it can be in sync with awork.

Hi @VisionarySysAdmin and welcome to the forum. The webhook itself, independent of the type, should have event metadata such as the timestamp. Take a look at this example here:

The changes array will be empty in the deletion case as we don’t track deletions as changes but as a separate event. Hope that makes sense.