Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Only apps can access this resource

Satish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2020

Hey, 

I am trying to Register dynamic webhooks.

But I am getting this in my response.

{    
   "errorMessages": [ "Only apps can access this resource."],

    "errors": {}

}

I am using Basic Auth.

Here is the code which I am using to List webhook.

curl --location --request GET 'https://mydomain.atlassian.net/rest/api/3/webhook' \--header 'Authorization: Basic xxxxxxxx'

 

it's not working with v3 and v2 but it's working on v1

https://mydomain.atlassian.net/rest/webhooks/1.0/webhook

Am I doing something wrong or I can use v1

1 answer

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
October 12, 2020

Hi @Satish ,

Web hook registration is different for connect apps(aka plugins). If you are not building an app, you should use the below approach.

https://developer.atlassian.com/cloud/jira/platform/webhooks/#registering-a-webhook-via-the-jira-rest-api--other-integrations-

Satish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2020

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events