JIra service desk rest api authentication return 401

I have tried following curl command to access service desk rest api but it's return 401 authenticate failed error.When i access same API with login on browser directly then it is working.

curl -D- -u user:password -X GET -H "Content-Type: application/json" https://xxx.atlassian.net/rest/servicedeskapi/servicedesk


Note:  This API is  working properly with jira user's credentials  but when i use service desk customer's credential then it is not working.

we were using this api from last few months it was working fine but from last two days it is not working.


1 answer

This widget could not be displayed.

Hi Manpreet,

I believe this is happening because of the changes announced in this article:

Jira Service Desk Cloud REST API changes to Atlassian Account


On 1 January, 2018, we're changing how you authenticate users with the Jira Service Desk Cloud REST API.

Right now, the REST API supports authentication for all users. However, on 1 January, users will need to have an Atlassian Account to authenticate against the REST API.

If users on your instance are authenticating against the REST API but do not have Atlassian Accounts, you'll need to convert them to Atlassian Account. 


Kind regards,
Glauco Guimarães

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

134 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you