URL parameters
The ID of the Slack integration to update.
Query parameters
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Headers
Bearer $TOKEN
application/json
Body parameters
How incidents are posted to Slack.
Valid values:verbose: Posts every incident to the connected channel.thread: Starts a thread for each incident in the connected channel. Needs a paid plan.channel: Creates a new channel for each incident. Needs a paid plan.
Display name for the channel in Better Stack. Send an empty string to clear it.
Who is invited to incident channels. Replaces the whole list.
What is invited. Possible values: user, on_call_calendar, slack_user_group.
ID of the on-call schedule or Slack user group. A user is u123 or their e-mail, and is returned as u123. Get a user's ID via List team members.
The teams and escalation policies Slack users can alert from Slack, as under Who can Slack users alert? in the web app. An update replaces the whole list. An alert channel left out of a team entry is off.
Type of routing target.
Valid values:team: A team, notified through the channels turned on in this entry.policy: An escalation policy.
A team's ID from List teams, such as t123, or an escalation policy's ID from List escalation policies.
Whether to notify the team by phone call. Only on team entries.
Whether to notify the team by SMS. Only on team entries.
Whether to notify the team by e-mail. Only on team entries.
Whether to send the team a push notification. Only on team entries.
Whether to send the team a critical alert. Only on team entries.
Resources whose status page updates are posted to this channel. Empty means every resource of the integration's team. Needs post_status_page_updates turned on. An update replaces the whole list.
Resource type. Possible values: status_page, monitor, heartbeat, monitor_group, heartbeat_group, webhook_integration, email_integration, incoming_webhook, amazon_sns_integration, manually_tracked_item, logs_chart, catalog_reference.
The resource's ID.
Whether incident channels are created as private channels. Needs at least one entry in channel_invitees.
Whether Slack users can alert every team and escalation policy in the organization, or only the ones in alert_options.
Whether people who join the Slack workspace are invited into the integration's Better Stack team as responders.
Whether the channel is notified when the primary responder changes.
Whether to post when a monitor, heartbeat, group or integration is paused.
Whether to post when an incident is resolved.
Whether to send a direct message to users mentioned in incidents.
Whether tagging Better Stack in Slack starts an AI SRE conversation.
Whether only the members of this channel can create incidents.
Whether to post incident timeline events about e-mails, phone calls and integrations.
Whether to post incident metadata.
Whether to post status page updates. Turning it off clears status_page_update_resources.
Whether to post to the connected Slack channel when we notify the primary responder of an incident with no escalation policy.