{ "webhook_name": "Updated Lead Webhook" }{ "webhook_endpoint": "https://new-endpoint.example.com/webhook" }{ "webhook_status": "inactive" }{ "include_data_append": true, "include_indicator_scores": true }{ "static_parameters": [{"field_name": "api_key", "field_value": "new_key_123"}] }webhook_endpoint, must be a valid HTTPS URLwebhook_updated is automatically set to current timestampstatic_parameters is provided, it completely updates existing parameters (not merged)curl --location --globoff --request PATCH 'https://platform-api.convirza.com/v3/webhooks/{id}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"webhook_id": 123,
"webhook_name": "Updated Webhook Name",
"webhook_endpoint": "https://example.com/updated-webhook",
"description": "Updated description",
"format": "JSON",
"method": "GET",
"include_data_append": true,
"include_dni_logs": false,
"include_indicator_scores": true,
"include_ivr_keypresses": false,
"webhook_status": "active",
"static_parameters": [
{
"field_name": "api_key",
"field_value": "sk_live_1234567890"
}
]
}'{
"code": 200,
"message": "Success",
"data": {
"webhookId": 123
},
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-01-20T12:34:56.789Z"
}