List Spike Protection Notifications
Returns all Spike Protection Notification Actions for an organization.
Notification Actions notify a set of members when an action has been triggered through a notification service such as Slack or Sentry. For example, organization owners and managers can receive an email when a spike occurs.
You can use either the project or projectSlug query parameter to filter for certain projects. Note that if both are present, projectSlug takes priority.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
Query Parameters:
project(array(integer))The IDs of projects to filter by.
-1means all available projects. For example, the following are valid parameters:/?project=1234&project=56789/?project=-1
project_id_or_slug(array(string))The project slugs to filter by. Use
$allto include all available projects. For example, the following are valid parameters:/?projectSlug=$all/?projectSlug=android&projectSlug=javascript-react
triggerType(string)Type of the trigger that causes the notification. The only supported value right now is:
spike-protection
Scopes
<auth_token> requires one of the following scopes:org:adminorg:readorg:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/notifications/actions/ \ -H 'Authorization: Bearer <auth_token>'
Copied{ "id": "836501735", "organizationId": "62848264", "serviceType": "sentry_notification", "targetDisplay": "default", "targetIdentifier": "default", "targetType": "specific", "triggerType": "spike-protection", "projects": [ 4505321021243392 ] }