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
Next: Root
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.
I want to track how many notifications have been sent to engineers in my company and associate them to a team, service, and alert if possible. How can I do this in the API? I see we can get Notification Rules, but not the notifications themselves. On the Alerts API, I can see a list of "responders". Is this something I can leverage, perhaps to get the number of people notified even if I can't get the number of notifications?
Hi @sduzett ,
Happy to help!
Using Analytics (Notification Reports) on Opsgenie would be the best way to track that, but if you wanted to use the API, you could use the Logs API endpoint here https://docs.opsgenie.com/docs/logs-api if you have the Enterprise plan to pull your Product Logs, and then use that resultant data to filter down on notifications sent. The other option would be to list Alerts, pull Alert Logging, and then filter for Notifications sent via that method.
Using the Responders field from the Alerts API endpoint would be informative on how many people were notified, but it wouldn't necessarily indicate how many notifications were sent between all of them throughout the Alert's lifespan.
Please let me know if you have any follow up questions!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.