Allow tokens when creating webhooks

XMLWordPrintable

      Created on behalf of a Community post:

      https://community.atlassian.com/t5/Jira-questions/Register-Jira-Cloud-Webhook-with-REST-API/qaq-p/1062717

      I want to register an JIRA Cloud webhook via REST API (no connect apps). I have gone through the https://developer.atlassian.com/cloud/jira/platform/webhooks/
      But it seems that it only supports basic auth during webhook registration.

      What I want is to register an webhook with access token in header as 
      Authorization : Bearer <access_token>
      But when I do post it like above it always returns 401 status code.

      Below is the configurations i am trying :

      URL :

       https://<subdomain>.atlassian.net/rest/api/3/webhook

      Headers : 

      Authorization : Bearer <access_token>
      Content-Type : application/json

      Body : 

      Unknown macro: { "name"}

       

            Assignee:
            Unassigned
            Reporter:
            Prakash Thete
            Votes:
            17 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: