Where to find Space ID


is there an easy way to find out the space ID of a space?



5 answers

1 accepted

If you really need it :

  1. Go to <your-confluence-instance>/admin/findspaceattachments.jsp
  2. insert your space key
  3. the last directory name will be your space id (should be a number)

Best regards,


Hi there,

You can query the database:

select * from SPACES;

Or you can narrow the search:

select spaceid from spaces where spacename = 'name_of_the_space';


Celso Yoshioka

0 vote
Timothy Chin Community Champion May 07, 2014

Im sure this is not the answer that you are looking for but the easiest way is the DB..


Thanks for the fast reply.

Yeah that was not the answer i was looking for.

If there is no easier way i have to go with this solution...

But i do not really understand how you can create the Hierarchical File System Attachment Storage like this : https://confluence.atlassian.com/display/DOC/Hierarchical+File+System+Attachment+Storage;jsessionid=EC6814B60BD67544D023161BF3B98974




This is automatically created for you, you shouldn't do it yourself.

Best regards,


Hi Peter,

thanks for your answer.

This is great!


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

468 views 19 9
Join discussion

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