Best way to configure IDS?
Assuming the webhook runs as a specific user, you can disable the IDS (it's one of the permission)

So if you create (on drupal) a role "trusted user", disable the IDS check permission for that role only and grant that role to the webhook user, you should be ok