Update a Webhook
Update a webhook with the provided details.
PATCH /integrations/webhook/{hook_id}/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Base64Encoded(Client ID:Client Secret) |
| Content-Type | application/json |
Payload
eventstring
Event name for which the webhook is being updated
callback_urlstring (uri)
Callback URL for the webhook
custom_headersobject
Custom headers for the callback_url
poc_emailsarray of string
List of POC emails for the webhook (max 5)
activeboolean
Activate or Deactivate the webhook
Response
{ "success": true, "message": "string", "data": { "id": 0, "app_id": 0, "event": "string", "callback_url": "string", "custom_headers": {}, "poc_emails": [], "active": true, "created_at": "date-time", "updated_at": "date-time" }}