Hi all
I am currently working on to setup Organization alerts on all our 300 customers, but i am struggling a little bit to understand the api. I am using the below endpoint to get the current alert profiles into excel so i can get an overview on how it is configured.
from utils.api import initialize_api_session
from meraki import DashboardAPI
import pandas as pd
def main():
session: DashboardAPI = initialize_api_session(simulate=True)
alerts = session.organizations.getOrganizationAlertsProfiles("xxxx")
print(alerts)
df = pd.DataFrame(alerts)
df.to_excel("org_alerts.xlsx")
if __name__ == "__main__":
main()
With the code above i get absolutely zero alert profiles back, but they are configured in the GUI

When i looked at the documentation for creating a alert profile it looked like the set of api endpoints are meant for the insight alerts and not the Organization wide device alerts.
Can someone guide me to find the correct api endpoint?