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: 

Need help in fetching users using API

Meghana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2026

I’m trying to fetch all active and inactive user details from Jira Cloud using the /rest/api/3/users endpoint. Initially, I used a Personal Access Token (PAT) from my admin account with Bearer authentication, but the request failed with a 403 Forbidden error. When I switched to Basic Auth with an API token, the request still failed, returning:

{
    "errorMessages": [
        "error.no-permission"
    ],
    "errors": {}
}

error message when PAT is used:
{
    "error": "Failed to parse Connect Session Auth Token"
}image.pngimage.png

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Marc -Devoteam-
Community Champion
March 6, 2026

Hi @Meghana 

Are you or in a group granted the global Jira permission "Browse users and groups"?

As a 403 means no permission, asre you a Jira Admin?

0 votes
Enric Font
Community Champion
March 6, 2026
0 votes
Tansu Akdeniz
Community Champion
March 6, 2026

Hi @Meghana 

It appears that the URL is for Cloud.

Personal Access Token (PAT) is available for the DC version. 

For Cloud, please check out API token page: Manage API tokens for your Atlassian account

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events