Skip to content

Webhook Events

List webhook events
webhook_events.list(WebhookEventListParams**kwargs) -> SyncPageNumberPage[WebhookEvent]
GET/v1/webhook-events
Get webhook event
webhook_events.retrieve(strevent_id) -> WebhookEventRetrieveResponse
GET/v1/webhook-events/{event_id}
List webhook event deliveries
webhook_events.list_deliveries(strevent_id) -> WebhookEventListDeliveriesResponse
GET/v1/webhook-events/{event_id}/deliveries
ModelsExpand Collapse
class WebhookEvent:
id: str

Prefixed unique identifier for this webhook event (e.g., wevt_...).

created_at: datetime

When the event occurred, in UTC.

formatdate-time
event_name: str

The event type, formatted as {resource}.{action} (e.g., enrollment.accepted).

organization_id: str

The organization this event belongs to.

resource_id: str

Prefixed ID of the affected resource. Use this to fetch the current state from the API.

resource_type: str

The type of resource affected (e.g., enrollment, employee).