URL parameters
The ID of the Microsoft Teams integration, the number in the URL of its Configure page.
Headers
Bearer $TOKEN
application/json
Body parameters
The Notify me when toggles to change, as booleans. Toggles you leave out keep their value. The keys are spikes, spike_protection, new_releases, new_errors, occurrence_milestones, occurrence_threshold, affected_users_threshold, automatically_reopened.
How many occurrences within occurrence_threshold_interval trigger notifications.occurrence_threshold. A positive whole number.
The interval of the occurrence threshold: minute, hour, day, or week.
How many affected users in total trigger notifications.affected_users_threshold. A positive whole number.
Only send messages for errors where at least one exception has every tag listed, with one of its values, replacing the whole list. Each row is an object with a tag and its values, a list of strings. Use a tag once, at most 10 rows, 50 values per tag and 200 characters per tag or value. Send [] for every error. New releases and spike protection aren't filtered.
Which applications' errors go to which channels, replacing the whole list. Each route is an object with applications, a list of objects with an application_id and optionally its environments, and channels, a list of at least one object with the id of a standard channel in the team the Better Stack app was added to. An empty applications means any application. An application in no route gets no messages, unless a route has an empty applications. Send [] to send every error to the channel the Better Stack app was added to.