Our API now allows you to read all notification settings
Published on August 2, 2023 by Freek Van der Herten
Oh Dear's robust API provides endpoints that enable programmatically accessing nearly all features available on the web UI.
One thing that needed to be added was the ability to read all notification settings in your account. A few of our users requested this; it made sense to add this, so we did just that. A benefit of choosing a smaller company like Oh Dear (we're only two people) is that we can move very fast and quickly add features when customer requests come in.
Because the results of these API calls can contain sensitive values, only admins and team owners can use the new endpoints.
Let's try out one of the news endpoints. The /API/team-notification-destinations URL will return all notification destinations defined on the team level
for all your teams.
{ "data": [ { "id": 123, "team_id": 1, "channel": "mail", "destination": { "mail": "[email protected]" }, "notification_types": [ "UptimeCheckFailedNotification", "UptimeCheckRecoveredNotification", ... ] } ] }
If you want to know more about the new endpoints and our API in general, head over to our extensive API docs.