You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Using status page, I am subscribed to multiple webhooks from a few different third party services.
How different is the JSON response between these webhooks? Is it all the same?
I've been referring to this link but see two types of JSON data
Just wondering which JSON would be sent to the webhook endpoint
Hi Benjamin, welcome to the Community!
The two different JSON values on the page show the payloads for incidents (a particular time something happened) and components (each item that's listed on your status page, such as "API" or "Authentication"). A little more explanation around components is available here.
Typically when an incident is created, one or more components will be listed as affected. For example, on this recent Trello incident, both the API and Trello.com components were affected:
In the webhook payloads, there will be component and incident objects you can filter for. Depending on how you're consuming the webhooks, you might not need both the incident and components. For example, if you're putting the status of a service on a big traffic light in your office, you'd only really need the component payload, and just update your traffic light based on the status_indicator value.
I hope that explains the difference a bit, but I'm happy to provide more guidance if you've got a particular use-case you need help with.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.