The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

cURL Request API

Bryan Tito
Contributor
October 5, 2022

I'm trying to test this API request for my automation:

 

curl --request GET \

--url 'https://your-domain.atlassian.net/rest/servicedeskapi/request' \

--header 'Authorization: Bearer <access_token>' \

--header 'Accept: application/json'

 

I've added the domain and access token but I'm getting: 

"Client must be authenticated to access this resource.","status-code":401

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alex Koxaras -Relational-
Community Champion
November 15, 2022

Hi @Bryan Tito 

Just to be aligned: where did you generate the access token?

The message you are getting let's you know that you are not properly login. So I would look again at your credentials.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events