# EventWebhookTestResult

The EventWebhookTestResult type of the TypeScript SDK, which domains.testEventWebhook and mailboxes.testEventWebhook take or answer.

```ts
type EventWebhookTestResult = {
  batchId: string
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `batchId` | `string` | The queued test batch's id — its outcome shows on the resource and in traffic |

## Used by

| Method | What it does |
| --- | --- |
| [`domains.testEventWebhook`](/docs/sdks/typescript/domains/test-event-webhook) | Send a test event to the domain's event webhook |
| [`mailboxes.testEventWebhook`](/docs/sdks/typescript/mailboxes/test-event-webhook) | Send a test event to the mailbox's event webhook |
