Webhook map
eventscaptured(events.captured)
HTTP handler setup
app/api/webhook/route.ts
Events
Events
Captured
events.captured
A PostHog event was captured
Payload
| Name | Type | Required | Description |
|---|---|---|---|
event | string | Yes | — |
distinct_id | string | Yes | — |
timestamp | string | No | — |
uuid | string | No | — |
properties | object | No | — |
person | object | No | — |
groups | object | No | — |
$set | object | No | — |
$set_once | object | No | — |
$unset | string[] | No | — |
properties full type
properties full type
person full type
person full type
groups full type
groups full type
$set full type
$set full type
$set_once full type
$set_once full type
Response data full type
Response data full type
webhookHooks example