Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,557,509
Community Members
 
Community Events
184
Community Groups

What is my cloud id

Edited

According to this documentation https://developer.atlassian.com/cloud/jira/platform/rest/v3/. In order to use the api the specified URL would be https://api.atlassian.com/ex/jira/{cloudid}/{api}. What is {cloudid} and {api} referencing and where do I find them within my site?

3 comments

Syauqi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 25, 2018

Hi Simran,

As referred to the OAuth 2.0 authorization code grants (3LO) for apps documentation:  

  • client_id: (required) Set this to the Client ID for your app. Find this in App details for your app in app managementFor example, 11223344-a1b2-3b33-c444-def123456789
  • {api} is the base path and name of the API. For example, /rest/api/2/project for the project endpoint in the Jira REST API. 

Hope this explains

Cheers, Syauqi

The atlassian team response seems to be incorrect or perhaps outdated? -- it would seem you need to make a request to https://api.atlassian.com/oauth/token/accessible-resources with your token to get your "cloudId"(comes back as "id") -- which is NOT your apps client_id.

 

to https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/  has more details

 

Screen Shot 2018-10-30 at 10.10.35 AM.png

Like # people like this

Hi,

I did not succeed with the above approach to get the cloud id.

One other easy way to get the cloud id is to go to https://admin.atlassian.com/

Click on your "site" of interest and you will get the Cloud id in the URL 

Resulting URL Example:


https://admin.atlassian.com/s/<Your_cloud_id>users

Like # people like this

easiest way to do so. thank you!

Like # people like this
securiti jira
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!
Jan 12, 2023

@Johan Eckerstrom - _Eficode_ hey I'm unable to access sites from the URL you shared, can you please check if it is still working for you?

Hi,  when call this : https://api.atlassian.com/oauth/token/accessible-resources 

return all jira site, but i want to get only the datanet of the one i selected from sending code․ what can I do?

Tom Gionfriddo
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!
May 30, 2023

The simplest way to find your site's Cloud Id is via: https://my-site-name.atlassian.net/_edge/tenant_info

Which, when you replace "my-site-name" with your Jira's site name, will return the following

{"cloudId":"93ac17d7-fe07-4ba3-a53c-5caeb380fff8"}   

 This is really poorly documented, and the only mention I saw of it was a one liner on the new Forms API docs

Like # people like this

Comment

Log in or Sign up to comment