Getting SpaceId from SpaceKey via API v2

Enrico Di Cesare EXT
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!
November 28, 2024

Hello,

 

Is there a way to get the SpaceId from its SpaceKey in Confluence using V2 APIs?

Thank you,

1 answer

1 accepted

2 votes
Answer accepted
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 28, 2024

Hi @Enrico Di Cesare EXT ,

you can use https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get and you must specifiy the space key as a query parameter.

Enrico Di Cesare EXT
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!
November 29, 2024

thanks a lot @marc -Collabello--Phase Locked- it works fine

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events