# <a id="bitdrift.public.webhook.v1.WebhookNotification"></a>WebhookNotification

**Source definition:** [`src/bitdrift/public/webhook/v1/notification.proto#L14-L40`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/webhook/v1/notification.proto#L14-L40>)

Describes a webhook notification event delivered to an external destination.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| timestamp | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | Timestamp when the notification was generated. |
| test | <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">webhook</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">TestNotification</i>](bitdrift_public_webhook_v1_TestNotification.md "bitdrift.public.webhook.v1.TestNotification")</span><span class="proto-field-annotation">only one of <em>test</em>, or <em>session_capture</em>, <em>entity_recording_completed</em>, <em>alert</em>, <em>issue_alert</em>, <em>issue_report_notification</em>, <em>issue_notification</em> can be set</span> | A test notification. |
| session_capture | <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">webhook</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">SessionCaptureNotification</i>](bitdrift_public_webhook_v1_SessionCaptureNotification.md "bitdrift.public.webhook.v1.SessionCaptureNotification")</span><span class="proto-field-annotation">only one of <em>session_capture</em>, or <em>test</em>, <em>entity_recording_completed</em>, <em>alert</em>, <em>issue_alert</em>, <em>issue_report_notification</em>, <em>issue_notification</em> can be set</span> | A workflow session capture notification. |
| entity_recording_completed | <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">webhook</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">EntityRecordingCompletedNotification</i>](bitdrift_public_webhook_v1_EntityRecordingCompletedNotification.md "bitdrift.public.webhook.v1.EntityRecordingCompletedNotification")</span><span class="proto-field-annotation">only one of <em>entity_recording_completed</em>, or <em>test</em>, <em>session_capture</em>, <em>alert</em>, <em>issue_alert</em>, <em>issue_report_notification</em>, <em>issue_notification</em> can be set</span> | An entity recording request completed. |
| alert | <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">webhook</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">AlertNotification</i>](bitdrift_public_webhook_v1_AlertNotification.md "bitdrift.public.webhook.v1.AlertNotification")</span><span class="proto-field-annotation">only one of <em>alert</em>, or <em>test</em>, <em>session_capture</em>, <em>entity_recording_completed</em>, <em>issue_alert</em>, <em>issue_report_notification</em>, <em>issue_notification</em> can be set</span> | A workflow alert fired. |
| issue_alert | <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">webhook</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">IssueAlertNotification</i>](bitdrift_public_webhook_v1_IssueAlertNotification.md "bitdrift.public.webhook.v1.IssueAlertNotification")</span><span class="proto-field-annotation">only one of <em>issue_alert</em>, or <em>test</em>, <em>session_capture</em>, <em>entity_recording_completed</em>, <em>alert</em>, <em>issue_report_notification</em>, <em>issue_notification</em> can be set</span> | An issue alert fired. |
| issue_report_notification | <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">webhook</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">IssueReportNotification</i>](bitdrift_public_webhook_v1_IssueReportNotification.md "bitdrift.public.webhook.v1.IssueReportNotification")</span><span class="proto-field-annotation">only one of <em>issue_report_notification</em>, or <em>test</em>, <em>session_capture</em>, <em>entity_recording_completed</em>, <em>alert</em>, <em>issue_alert</em>, <em>issue_notification</em> can be set</span> | A notification for a new issue report. |
| issue_notification | <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">webhook</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">IssueNotification</i>](bitdrift_public_webhook_v1_IssueNotification.md "bitdrift.public.webhook.v1.IssueNotification")</span><span class="proto-field-annotation">only one of <em>issue_notification</em>, or <em>test</em>, <em>session_capture</em>, <em>entity_recording_completed</em>, <em>alert</em>, <em>issue_alert</em>, <em>issue_report_notification</em> can be set</span> | A notification for a new issue. |

</section>
<p class="h4">Example</p>
```json
{
  "session_capture": {
    "exploration_name": "Checkout Funnel",
    "rule_title": "Capture recent sessions",
    "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "timeline_url": "https://app.bitdrift.io/timelines/tl_123",
    "workflow_name": "Payment Failures",
    "workflow_url": "https://app.bitdrift.io/workflows/wf_123"
  },
  "timestamp": "2024-01-15T09:30:00Z"
}
```

