Skip to content

Update a Webhook

Update a webhook with the provided details.

PATCH /integrations/webhook/{hook_id}/

Headers

NameValue
AuthorizationBearer Base64Encoded(Client ID:Client Secret)
Content-Typeapplication/json

Payload

event
string

Event name for which the webhook is being updated

callback_url
string (uri)

Callback URL for the webhook

custom_headers
object

Custom headers for the callback_url

poc_emails
array of string

List of POC emails for the webhook (max 5)

active
boolean

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"
}
}