API available for webhook.
How we can enable this on server instance?
Webhooks will be available in Confluence 7.7.0 for Server and Data Center.
Registering a webhook can be done through the UI or using the REST API.
You can check it out right now in the Confluence 7.7 Beta, or take a look at the documentation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.