Ability to use api/webhook when a task is marked as completed

It would be nice if it was possible to fire a webhook when a task was completed with the task details including custom fields.