# Update a webhook Endpoint: PUT /apps/{clientId}/webhooks/{webhookId} Version: 1.0.0 Security: Platform Bearer Token ## Path parameters: - `clientId` (string, required) The application identifier - `webhookId` (string, required) The webhook identifier ## Request fields (application/json): - `url` (string) The url of the webhook target. Example: "https://hooks.example.com/adfin/webhooks" - `events` (array) The list of events to subscribe. Example: ["invoice","dd-mandate"] - `name` (string) The name of the webhook. Example: "Adfin Events" - `description` (string) The description of the webhook. Example: "Triggers for invoice lifecycle events." - `enabled` (boolean) The state of the webhook configuration. ## Response 200 fields (application/json): - `id` (string) The identifier of the webhook - `clientId` (string) The identifier of the application - `url` (string) The target URL of the webhook - `name` (string) Name of the webhook - `description` (string) Description of the webhook - `events` (array) The list of event types to trigger webhook instantiation - `enabled` (boolean) The state of the webhook - `creationTime` (string) The creation timestamp of the webhook - `lastUpdatedTime` (string) The last updated timestamp of the webhook ## Response 400 fields ## Response 404 fields