# Update webhook endpoint Update a webhook endpoint's URL, event subscriptions, or enabled status. Endpoint: PUT /partner/v2/webhook/{webhookId} Version: 2.0 Security: PartnerOAuth ## Path parameters: - `webhookId` (integer, required) Webhook endpoint ID ## Request fields (application/json): - `eventTypes` (array) Updated event types to subscribe to - `isEnabled` (boolean) Enable or disable the endpoint - `name` (string) Friendly name for the endpoint Example: "Production Webhook v2" - `url` (string) New webhook URL Example: "https://api.example.com/webhooks/lobbie-v2" ## Response 200 fields (application/json): - `createdAt` (string) Creation timestamp Example: "2025-01-01T10:00:00Z" - `eventTypes` (array) Event types this endpoint is subscribed to Example: ["appointment.created","appointment.updated","form.completed"] - `failureCount24h` (integer) Number of failed deliveries in the last 24 hours Example: 2 - `id` (integer) Unique webhook endpoint identifier Example: 12345 - `isEnabled` (boolean) Whether this endpoint is enabled Example: true - `lastFailureAt` (string) Timestamp of last failed delivery - `lastSuccessAt` (string) Timestamp of last successful delivery - `name` (string) Friendly name for the endpoint Example: "Production Webhook" - `signingSecret` (string) Signing secret (only shown on creation) Example: "whsec_abc123..." - `successCount24h` (integer) Number of successful deliveries in the last 24 hours Example: 42 - `updatedAt` (string) Last update timestamp Example: "2025-01-10T14:30:00Z" - `url` (string) Webhook URL where events are delivered Example: "https://api.example.com/webhooks/lobbie" ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields