Where to find Space ID


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



5 answers

2 accepted

5 votes
Accepted answer

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 votes
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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

747 views 33 5
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