Where to find Space ID


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



5 answers

1 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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,096 views 17 14
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