# EventWebhookActor

Who caused it, or null when the platform did (a delivery, a retention sweep).

Who caused it, or null when the platform did (a delivery, a retention sweep)

```ts
/** Who caused it, or null when the platform did (a delivery, a retention sweep) */
type EventWebhookActor = {
  /** The acting principal's id (key id or mailbox ULID) */
  id: string
  /** Acting mailbox ULID, when the actor is a mailbox */
  mailbox?: string
  /** Credential scope of the actor */
  type: ('system' | 'account' | 'mailbox')
} | null
```

## Used in

[`EventWebhookEvent`](/docs/sdks/typescript/types/event-webhook-event).
