Bitbucket Cloud Create Webhook via Rest API

This Bitbucket cloud support page says:

To create a webhook using the API, you need to know the format of the HTTP request that Bitbucket expects and the format of the HTTP response that Bitbucket returns to your server. Refer to the reference documentation for descriptions and examples of these requests and responses.

But the actual API documentation only has GET endpoints. I see no way to create/post to the webhook resource. Am I missing something?

Thanks.

Hello @Bahador

If you Google “How can I create a webhook using Bitbucket Cloud’s REST API?” you will find the answer… webhooks are created using the Respositories endpoints.

Thanks for the link. This is very different behavior that the Jira API which is what I’m used to.

When I type “How can I create a webhook using Bitbucket Cloud’s REST API?”
the result I get is No results found for “How can I create a webhook using Bitbucket Cloud’s REST API?”.

Google is literally giving me a different response than you.