> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lettbestilt.no/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lettbestilt.no/_mcp/server.

# Test event (PING)

POST 

Sent only when someone chooses **Send test event** for the webhook in the partner portal, to check that your endpoint receives and verifies deliveries. It is signed like every other event, is sent even when the webhook is paused, and is never retried. You cannot subscribe to it. Answer `2xx` and ignore it, or log it.

Reference: https://docs.lettbestilt.no/api-reference/webhooks/ping

## Request

### Headers

- `X-LettBestilt-Webhook-Id` (string, required) — The ID of the webhook subscription this delivery belongs to.
- `X-LettBestilt-Delivery-Id` (string, required) — Stable per event and subscription. Retries of the same event, and deliveries sent again with **Resend** in the partner portal, carry the same ID, so use it to skip events you have already handled.
- `X-LettBestilt-Webhook-Timestamp` (string, required) — Unix time in seconds when this attempt was signed. Reject old timestamps to stop replays.
- `X-LettBestilt-Webhook-Signature` (string, required) — `sha256=` followed by the hex HMAC-SHA256 of `{timestamp}.{raw body}`, keyed with the webhook's signing secret (`whsec_…`).

### Payload

- `event` (enum, required)
  - Allowed values: `PING`
- `createdAt` (datetime, required) — When the test event was sent (ISO 8601, UTC).
- `data` (WebhooksPingPayloadContentApplicationJsonSchemaData, required)

## Types

### WebhooksPingPayloadContentApplicationJsonSchemaData

- `webhookId` (string, required) — The webhook subscription the test was sent to.
- `restaurantSlug` (string, required)
- `test` (boolean, required)
- `message` (string, required) — A fixed Norwegian text.