How to get a Confluence project's ID?

Fellow sufferers!

I need to know the ID of a particular project in Confluence (I'll use the ID to make REST queries). Where in the UI is the ID displayed?


BW Peter Bunde ´Hansen

2 answers

0 votes

The Confluence REST API leans on the space key, not id, and that's visible everywhere, in the name, the urls and so-on  (I'm assuming you mean "space", as Confluence doesn't have "projects")

Where is space ID.JPGHi Nic


Thanks for your reply. Yes, I mean space. I still can only find the title - not something that looks like an ID. Could you provide a screen cut-out to guide me in to find it, or mark it in the cut-out?


BW Peter Bunde Hansen

Ok, the new layout on Cloud doesn't expose the space key as much.  You could look at the url you are on when you're looking at a page, or look at the list of spaces where the keys are listed.

By the way, in the REST documentation, the ID is mentioned as <projectIdOrKey>. 

This gives me the ID:


But I get an error message:

{"errorMessages":["You cannot edit the configuration of this project."],"errors":{}}

For this URL:

From the documentation, it seems I do not need admin rights to query these roles; also why is the reponse mentioning '...edit...' when clearly I am not trying to edit something?


BW Peter Bunde Hansen

Those are JIRA projects, not Confluence spaces.

What I am trying to achieve is this:

In Confluence, I have a space with a number of pages. A subset of the members of the space are 'Reviewer'. I than need to query via my REST API who the Reviewer's are.  

Please propose a way to do that.

)If the member can have the role irt particular pages within the space, that would be great, or if it is only possible to do that on space level, that is fine as well.)

BW Peter Bunde Hansen

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,319 views 5 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you