Forums

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

Failed to get Team and Team members through API

Rachel Zheng
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!
June 13, 2025

I created a Team called "Agile dev" under sandbox305, and I tried to get the team and team members through Teams API(include orgId and teamId).

It failed with 403 as screenshot, do you know why?

Even we add the cloudId of sandbox305 to the endpoint url, it also return the same error.10_08_03.jpg10_08_49.jpg

1 answer

1 vote
Piyush Annadate _ACE Pune_
Community Champion
June 13, 2025

Hi @Rachel Zheng 
Welcome to the Community !

I've seen that API tends to fail or never works - not sure why as didn't got much of time to research for; but you can refer this article wherein myself and @Trudy Claspill mentioned about the API that can be used.

Method: GET (Without using api.atlassian url)
API: https://<site>.atlassian.net/gateway/api/public/teams/v1/org/<Org ID>teams

Authentication: Basic Auth: Email and API TOKEN (not the organisation api token)

Rachel Zheng
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!
June 17, 2025

Thanks @Piyush Annadate _ACE Pune_ 

I tried 

https://{site_id}/gateway/api/public/teams/v1/org/{org_id}/teams?size=300

It returned some teams less than 300, but within these teams I didn't get the team I created on this site.

Suggest an answer

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

Atlassian Community Events