Are Webhook available in confluence server through API or Add-on
Asked by webmethods-integration:

HI  
I am trying to register webhook in Confluence Server by using the below-mentioned URL

<br />

[https://docs.atlassian.com/ConfluenceServer/rest/7.5.1/#api/webhooks-createWebhook 3](https://docs.atlassian.com/ConfluenceServer/rest/7.5.1/#api/webhooks-createWebhook)

But the API throws an error "message": "Webhooks are not yet supported" along with status- code 501  
So is there any other way to register a webhook in the confluence server that maybe through Addon or plugin.  
Can anyone help me with this?

Regards,

Kuldeep K


Answers:
author: Rachel Robins
body: I'm excited to announce that 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](https://confluence.atlassian.com/display/DOC/Confluence+7.7+beta+release+notes), or take a look at the documentation:

* [Managing webhooks](https://confluence.atlassian.com/display/confeap/managing+webhooks) (beta documentation)
* [Webhooks](https://developer.atlassian.com/server/confluence/webhooks/) (developer documentation)

comments: author: Rachel Robins
body: My apologies for the confusion caused by the REST docs being published too early.


author: Dario B
body: Hello [@webmethods-integration](/t5/user/viewprofilepage/user-id/3192373) and [@Davin Studer](/t5/user/viewprofilepage/user-id/781467) ,

According to the below feature request webhooks are not available in Confluence Server but we are already working on this:

* [\[CONFSERVER-52487\] Webhooks for Confluence](https://jira.atlassian.com/browse/CONFSERVER-52487)

Therefore, I am not sure if the documentation for the REST API endpoints to manage Webhooks was added intentionally for something that is coming in the close future or if it was mistakenly added too soon.

I have contacted DEV in order to get some clarity on this topic. I will forward their answer as soon as I will get anything back.

Also, since this was part of the original question, I have to mention that there is the below app (and possibly more) available in our marketplace that provides this fucntionality:

* [Webhooks for Confluence Server](https://marketplace.atlassian.com/apps/1222411/webhooks-for-confluence-server?hosting=server&tab=overview)

Cheers,  
Dario

comments: author: Dario B
body: Calling the endpoint already gives a hint by returning error 501 (not implemented) rather than 404 (not found):

```
{
    "statusCode": 501,
    "data": {
        "authorized": false,
        "valid": true,
        "allowedInReadOnlyMode": true,
        "errors": [],
        "successful": false
    },
    "message": "Webhooks are not yet supported",
    "reason": "Not Implemented"
}
```

So, I believe the status of [\[CONFSERVER-52487\] Webhooks for Confluence](https://jira.atlassian.com/browse/CONFSERVER-52487) is correct and we just added the documentation too early.

Still waiting for DEV to get back to me on this.

Cheers,  
Dario


author: Dario B
body: I got confirmation from DEV this is the case:
> Webhooks REST API is disabled until we assure that it works as intended (security, performances, etc) and finish the UI for it. It's in progress and we look at shipping it in next releases. It's not ready to be used in production yet.

Have a nice weekend.

Dario


author: Davin Studer
body: That is odd that it shows up in the API documentation. I wonder if it is a place holder for future functionality.

comments: author: webmethods-integration
body: Hi [@Davin Studer](/t5/user/viewprofilepage/user-id/781467)

Thanks for your response.

<br />

So I can't Register Webhook in Confluence server by REST API or through app descriptor file that is available in addon

Regards,

Kuldeep K


author: Davin Studer
body: I've not found a way to do it. I even have 7.6 install on my test server and it doesn't work there either.


Tags: cloud

confluence-server

webhook