I am trying to create API call for Webhook.
with following details:
url: https://{{myapp}}.atlassian.net/wiki/rest/api/2/webhooks/
method: "POST"
body: {
"id": 1,
"name": "Webhook Name",
"events": [
"page_created",
"page_removed",
"page_updated"
],
"configuration": {
"secret": "password"
},
"url": "myurl",
"active": true
}
and with appropriate header.
now here I am getting response as 404.
Please provide a steps to create a webhook for confluence,