Endpoint
Path Parameters
The unique identifier of the webhook to update
Request Body
A friendly name for the webhook
The HTTPS URL where webhook events will be sent
The type of webhook (
PRE_TRANSACTION or POST_TRANSACTION)Whether the webhook is active
Timeout in seconds
Number of retry attempts
Response
Unique identifier for the webhook
The friendly name of the webhook
The webhook endpoint URL
The webhook type
Whether the webhook is currently active
Timeout in seconds
Number of retry attempts
Timestamp when the webhook was created
Timestamp of the last execution
Whether the last execution was successful
Example Request
Update Webhook URL
Deactivate Webhook
Update Timeout and Retries
Complete Update
Example Response
Error Responses
Error message describing what went wrong
Common Errors
- 400 Bad Request: Invalid request body or webhook data
- 404 Not Found: Webhook with the specified ID not found
- 500 Internal Server Error: Failed to update webhook
Partial Updates
You only need to include the fields you want to update. Other fields will remain unchanged:Use Cases
Temporarily Disable Webhook
Disable a webhook during maintenance:Update Endpoint URL
Migrate to a new endpoint:Adjust Performance Settings
Increase timeout for slow endpoints:Rename for Clarity
Best Practices
- Test before activating: Update the URL, test it manually, then set
active: true - Gradual rollout: Update one webhook at a time
- Monitor after changes: Watch
last_successafter updating - Document changes: Keep track of why and when webhooks were modified
- Version your endpoints: Use versioned URLs for easier rollback
Webhook Versioning Strategy
Validation
Blnk validates the following when updating:- URL must be valid HTTPS (HTTP not allowed in production)
- Timeout must be between 1 and 300 seconds
- Retry count must be between 0 and 10
- Type cannot be changed (create a new webhook instead)