You can publish a REST or SOAP webservice where other parties can send data to.
Publishing a Webhook would be similar to creating a published REST service and making the endpoint known at the external party.
Take a look at the docs for Publishing a REST service https://docs.mendix.com/howto/integration/publish-rest-service/