We want to subscribe distribution groups to components. How do we go about this? Can we do this from the back end or do we need to go to the actual statuspage and click the "Subscribe" button next to the component and enter the email address?
Instead, you should use our authenticated API, which provides an endpoint for create subscribers. Here are the docs for that endpoint:
So you'd be doing a POST to this URL:
(Be sure to replace the PAGE_ID with the alphanumeric ID for your page.)
You can specify a list of components to subscribe in the body of the request. Here's an example body:
"component_ids": [ "COMPONENT_ID_1", "COMPONENT_ID_1" ]
The COMPONENT_ID values should of course be replaced by the alphanumeric IDs for the components in question.
If you want to update the list of subscribed components for an existing subscriber, you can do a PATCH for that specific subscriber, as described here:
Hope this helps!
You can do this with the API.
There is a conversation in the community regarding this question
Thanks for this and for your answer on my other question
Unfortunately the suggestion in this article doesn't work - going to /api on my statuspage, there is no option for subscribers
Ideally, we'd like to silently subscribe distribution groups to components
Can you provide any more information on this?
We're also on the business subscription
It worked for us. We use this for each subscriber:
and send to the page the jason file with the list of components for this subscriber
We have automated the creation of a subscriber list (a csv file) from our active directory.
With one of the API we download our page's subscribers and put them in a second list.
We compare the 2 lists and if there is an email from our active directory csv file that is missing from the pages's subscribers list, we subscribe those.
It allows us to automate the subscription of any new employe
We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events