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

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events