Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,806
Community Members
 
Community Events
168
Community Groups

Authentication error using REST API bearer token

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

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/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events