OAuth 2.0 (3LO) app encounters 401 Unauthorized trying to create webhooks

Hey @ibuchanan

We are trying to use dynamic webhooks for OAuth 2.0 (3LO) apps, we also added manage:jira-webhook scope but we are continuosly getting Encountered a 401 - Unauthorized error while loading this page error when trying to create a webhook.

Request looks like following:

curl --location --request POST 'https://XXXX.atlassian.net/rest/api/3/webhook' \
--header 'Authorization: Bearer XXX' \
--header 'Content-Type: application/json' \
--data-raw '{
  "webhooks": [
      "jqlFilter": "project = XX",
      "events": [
  "url": "https://xxxxxx/webhook-received"

Also in the documentation, example still contains email:api-token in the header and not Bearer token

Any help is highly appreciated, Thank you


@NewUser511, welcome to the Atlassian developer community. I moved this to a new topic as its a great question and adding on to old threads like the previous one it was on can be quite confusing.

That said, it looks to me like you are using the wrong URL pattern. Please see how the 3LO documentation explains to construct the request URL. The resulting URL should look like: