Skip to main content

Update a Webhook

Update a webhook with the provided details.

PATCH/api/v1/integrations/webhook/{hook_id}/

Headers

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

Payload

active
boolean

State of the webhook

callback_url
string

Callback URL for the webhook

object
{
  • "active": true,
  • "callback_url": "string",
  • "custom_headers": {
    }
}

Response

{
"success": true,
"message": "Successfully updated webhook",
"data": {
"id": 123,
"event": "call.status",
"active": true,
"callback_url": "CALLBACK_URL",
"created_at": "",
"updated_at": ""
}
}