# <a id="bitdrift.public.unary.admin.v1.GetNotificationGroupsResponse"></a>GetNotificationGroupsResponse

**Source definition:** [`src/bitdrift/public/unary/admin/v1/notifications.proto#L102-L117`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/admin/v1/notifications.proto#L102-L117>)

Returns the notification groups configured for the organization.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| notification_groups | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">admin</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">GetNotificationGroupsResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">NotificationGroupWithMetadata</i>](#bitdrift.public.unary.admin.v1.GetNotificationGroupsResponse.NotificationGroupWithMetadata "bitdrift.public.unary.admin.v1.GetNotificationGroupsResponse.NotificationGroupWithMetadata")</span> | The list of notification groups. |

</section>
<p class="h4">Example</p>
```json
{
  "notification_groups": [
    {
      "created_at": "2024-01-15T09:30:00Z",
      "notification_group": {
        "datadog_notifications": [
          {
            "api_base_url": "https://navy.oncall.datadoghq.com",
            "api_key": "datadog-api-key",
            "application_key": "datadog-application-key",
            "severity": "HIGH",
            "team_handle": "backend-oncall"
          }
        ],
        "email_addresses": [
          "user@example.com"
        ],
        "name": "engineering-oncall",
        "pager_duty_notifications": [
          {
            "routing_key": "pagerduty-routing-key",
            "severity": "CRITICAL"
          }
        ],
        "slack_channels": [
          "#incident-response"
        ],
        "sns_topic_arns": [
          "arn:aws:sns:us-east-1:123456789012:incident-notifications"
        ]
      },
      "used_at": "2024-01-15T09:30:00Z"
    }
  ]
}
```

# <a id="bitdrift.public.unary.admin.v1.GetNotificationGroupsResponse.NotificationGroupWithMetadata"></a>GetNotificationGroupsResponse.NotificationGroupWithMetadata

**Source definition:** [`src/bitdrift/public/unary/admin/v1/notifications.proto#L104-L113`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/admin/v1/notifications.proto#L104-L113>)

Describes a notification group together with its creation and usage timestamps.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| notification_group | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">admin</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">NotificationGroup</i>](bitdrift_public_unary_admin_v1_NotificationGroup.md "bitdrift.public.unary.admin.v1.NotificationGroup")</span> | The notification group. |
| created_at | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The time the notification group was created. |
| used_at | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The time the notification group was last used. |

</section>
<p class="h4">Example</p>
```json
{
  "created_at": "2024-01-15T09:30:00Z",
  "notification_group": {
    "datadog_notifications": [
      {
        "api_base_url": "https://navy.oncall.datadoghq.com",
        "api_key": "datadog-api-key",
        "application_key": "datadog-application-key",
        "severity": "HIGH",
        "team_handle": "backend-oncall"
      }
    ],
    "email_addresses": [
      "user@example.com"
    ],
    "name": "engineering-oncall",
    "pager_duty_notifications": [
      {
        "routing_key": "pagerduty-routing-key",
        "severity": "CRITICAL"
      }
    ],
    "slack_channels": [
      "#incident-response"
    ],
    "sns_topic_arns": [
      "arn:aws:sns:us-east-1:123456789012:incident-notifications"
    ]
  },
  "used_at": "2024-01-15T09:30:00Z"
}
```

