{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/WebhookEndpointJson", "title": "WebhookEndpointJson", "type": "object", "properties": { "object": { "type": "string", "description": "Distinguishes the Webhook Endpoint object.", "const": "webhook_endpoint" }, "id": { "type": "string", "description": "Unique identifier of the Webhook Endpoint.", "example": "we_0123456789" }, "endpoint_url": { "type": "string", "description": "The URL to which webhooks are sent.", "example": "https://example.com/webhooks" }, "secret": { "type": "string", "description": "The secret used to sign webhook payloads.", "example": "whsec_0FWAiVGkEfGBqqsJH4aNAGBJ4" }, "status": { "type": "string", "enum": [ "enabled", "disabled" ], "description": "Whether the Webhook Endpoint is enabled or disabled.", "example": "enabled" }, "events": { "type": "array", "items": { "type": "string" }, "description": "The events that the Webhook Endpoint is subscribed to.", "example": [ "user.created", "dsync.user.created" ] }, "created_at": { "format": "date-time", "type": "string", "description": "An ISO 8601 timestamp.", "example": "2026-01-15T12:00:00.000Z" }, "updated_at": { "format": "date-time", "type": "string", "description": "An ISO 8601 timestamp.", "example": "2026-01-15T12:00:00.000Z" } }, "required": [ "object", "id", "endpoint_url", "secret", "status", "events", "created_at", "updated_at" ] }