A list of project slugs for which this notification action will be active. For spike-protection triggers, this parameter is REQUIRED and must contain exactly one project slug. The notification action will apply only to the specified project.
action_idinteger
Required
The unique numerical ID of the specific notification action to be modified. You can obtain this ID from the 'view_organization_notification_actions' action or from the response when creating a notification action.
service_typestring
Required
The service through which the notification will be sent. For spike-protection triggers, use `sentry_notification` for built-in Sentry notifications. Other supported services include `slack`, `pagerduty`, and `opsgenie` (these require additional configuration via integration_id,…
trigger_typestring
Required
Specifies the type of event that triggers the notification. Currently, the only supported value is `spike-protection`.
integration_idinteger
The ID of the integration for the notification service. Required if `service_type` is `slack`, `pagerduty`, or `opsgenie`. Not needed for `sentry_notification` service type.
target_displaystring
A human-readable name for the notification target (e.g., a Slack channel name like '#critical-alerts' or an Opsgenie team name). This is required if `service_type` is `slack` or `opsgenie`.
target_identifierstring
The unique identifier of the notification target within the chosen service (e.g., a Slack channel ID like 'C012AB3CD' or an Opsgenie team ID). This is required if `service_type` is `slack` or `opsgenie`.
organization_id_or_slugstring
Required
The unique identifier (ID) or human-readable slug of the Sentry organization to which this notification action belongs.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not