Is there a REST API call in Confluence Cloud to return all labels present in a space?

There is a Labels List Macro but is it possible to access its rest api some how ?

1 Like

Have you looked at the Get Content for Space endpoint?

This endpoint looks like it returns all content for a space. You can then add an extend property meta.labels to get the labels for each page.

Once you have that then you’ll have to do some work on your end to scrub the labels.

I think this is what you’re looking for.

1 Like

thank you sir ! This was what I was looking !

1 Like