The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook label added event for spaces

Milo S
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!
July 25, 2024

Hey,

we are currently implementing a webhook and struggling with one specific event type. 

The documentation at https://confluence.atlassian.com/doc/managing-webhooks-1021225606.html states, that a label_added event is fired when an existing label is applied to a page, blog post, or space.

We expected this event to include the space-key or atleast the space-id. Unfortunately, when we label a space we get an event that is completely undistinguishable from an event, where a page is labeled. We checked the id in the labeled/id property of the event, but this id is neither the id of the labeled space nor the id of any page in that space. 

Are there any insights as to which id is included in this case?

Best regards 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Martin Runge
Community Champion
July 7, 2026

Hi @Milo S

Welcome to the Atlassian community.

My best guess is that Confluence stores space-level labels against a separate content entity tied to the space. I would verify this rather than make further guesses. Take the ID from that payload and call:

GET /rest/api/content/{id}?expand=space,container

Cheers, Martin

TAGS
AUG Leaders

Atlassian Community Events