Agent Webhooks
Update Webhook
Update an existing webhook configuration
PUT
Overview
Updates an existing webhook configuration. All fields are optional - only provided fields will be updated.Endpoint
Agent UUID
Webhook UUID
Request
Response
Indicates if the webhook was updated successfully
Success message
Updated webhook object
Unique webhook identifier
Agent UUID this webhook belongs to
Updated webhook name
Updated webhook URL
Updated array of configured event types
Updated request timeout in seconds
Updated maximum retry attempts
Updated webhook status
ISO 8601 timestamp when webhook was created
ISO 8601 timestamp when webhook was last updated
Number of events configured for this webhook
Current webhook status
Error responses
Validation rules
- name: Optional, string, maximum 255 characters
- webhook_url: Optional, valid URL, maximum 500 characters
- webhook_secret: Optional, string, maximum 255 characters
- events: Optional, array with minimum 1 event, each event must be from available events list
- timeout: Optional, integer between 5-120 seconds
- max_retries: Optional, integer between 0-10
- enabled: Optional, boolean
Important notes
- All fields are optional - only provided fields will be updated
- Webhook operations automatically clear the agent cache for immediate effect
- Use HTTPS endpoints for webhook URLs in production
- Implement proper signature verification using the webhook secret for security
Related endpoints
- List Agent Webhooks - Get all webhooks for an agent
- Create Webhook - Set up a new webhook
- Get Webhook Details - Retrieve specific webhook information
- Delete Webhook - Remove webhook configuration
- Toggle Webhook Status - Enable/disable webhook
- Test Webhook - Send test payload to verify connectivity