I’m trying to subscribe a webhook through REST API in which i’m facing an issue.
I have tried the version 1 API with basic auth(“email:api_key” in base64 encoded) but it is throwing the following error.
“message”: “Client must be authenticated to access this resource.”,
From the JIRA REST API Documentation i understand that managing webhooks can be only accessible through connect and OAuth 2.0 apps. I have created a new app in my developer account and using the client and client secret i have generated the access token.
Using that access token with “Authorization : Bearer <access_token>” in the headers, still i am facing the same error. During the OAuth login, i’m able to see the access for manage webhooks (PFA)