It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trying to create a webhook via REST Edited

I am trying to create a webhook with the REST api with a Connect App. My app has the `admin` scope. I am sending a post request to `baseUrl/rest/webhooks/1.0/webhook` with the following payload structure:


"name": "Integration",
"url": "https://myurl/api/webhook/",
"events": [
"filters": {
"issue-related-events-section": "Project = JRA AND resolution = Fixed"
"excludeBody" : False



Each time I send a request I get a `403 - Forbidden`. I can access the `/rest/api/2/` endpoint with the sharedSecret using jwt authentication.


Edit: Little clarification, I am trying to use jwt authentication to create a webhook, not user/pass auth.



2 answers

1 accepted

0 votes
Answer accepted

Turns out I was hitting the wrong url, the url for Connect Apps is /rest/api/2/webhook docs 

0 votes
Hana_Kučerová Community Leader Nov 02, 2019

Hi Joe,

please, look at this article - there are a few tips, what can you do:

Did you try to add WRITE to scopes?

I've tried to use the provided payload a create the webhook using groovy script and everything works fine.

I have the read, write, and admin scope specified.

"scopes": [ "read", "write", "admin" ]


Is there a way I can check the permissions for my connect app?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

554 views 6 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you