How to create a Webhook for on-premises Jira Software using API request?

Hi Team,

I’m facing difficulty figuring out how to set up a webhook using API requests.

We’re using on-premises Jira Software.

I’ve followed the documentation provided at the following URL: https://developer.atlassian.com/server/jira/platform/oauth/ and successfully created an OAuth application. I can make requests and fetch information such as issues, sprints, etc.

However, I’m uncertain about how to register a webhook using API requests.

Although manual webhook creation works, I need to accomplish this task using API calls.

Could you please assist me with this?

This page describes setting up a webhook with API requests: https://developer.atlassian.com/server/jira/platform/webhooks/ Do note it requires a full jira administrator account.