There is a header in the webhook request named X-Discourse-Event which should indicate if the post is a new one or an edit.
There is a header in the webhook request named X-Discourse-Event which should indicate if the post is a new one or an edit.