Forums

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

Authentication error using REST API bearer token

G H Mahimaanvita September 22, 2022

Hi. I am new to Atlassian.
I want to access the REST API from insomnia/postman like this:

1. url: `https://my-site.atlassian.net/rest/agile/1.0/board`
2. body: 
{
"filterId": 10040,
"name": "scrum board",
"location": {
"projectKeyOrId": "20000",
"type": "project"
},
"type": "scrum"
}
3. In the authorisation tab, I added the bearer token and entered the Atlassian api key. 
I am getting an unauthorised error. 
{
"message": "Client must be authenticated to access this resource.",
"status-code": 401
}

please help

1 answer

1 accepted

2 votes
Answer accepted
Dheeraj Kumar Aggarwal
Contributor
September 22, 2022

You may follow the guide on basic auth for Jira REST API to access it inside Postman/Insomnia/...
https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/

G H Mahimaanvita September 25, 2022

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events