Unable to register webhooks for Confluence and receive events

I’m trying to register webhooks for Confluence Cloud and receive events.

During the app installation step, in the atlassian-connect.json, I’m setting the page and blog post create/update webhook events. However, after the app installation on the Confluence apps install page. I’m unable to register webhook dynamically using REST API as I couldn’t find any in the documentation. (I was able to find it for Jira though).

I have referred below links for answers but none have helped,

https://confluence.atlassian.com/doc/managing-webhooks-1021225606.html

Please suggest a way of solving this issue.

Thanks!