Retrieve a Spike Protection Notification Action

GET /api/0/organizations/{organization_id_or_slug}/notifications/actions/{action_id}/

Returns a serialized Spike Protection Notification Action object.

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.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The id or slug of the organization the resource belongs to.

action_id (integer)
REQUIRED

ID of the notification action to retrieve

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/notifications/actions/{action_id}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
{
  "id": "836501735",
  "organizationId": "62848264",
  "serviceType": "sentry_notification",
  "targetDisplay": "default",
  "targetIdentifier": "default",
  "targetType": "specific",
  "triggerType": "spike-protection",
  "projects": [
    4505321021243392
  ]
}