curl --location --request PATCH 'https://platform-api.convirza.com/v3/webhooks/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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",
"field_Name": "api_key",
"field_Value": "sk_live_1234567890"
}
],
"webhook_Name": "Updated Webhook Name",
"webhook_Endpoint": "https://api.example.com/webhooks/updated",
"include_Data_Append": true,
"include_DNI_Logs": false,
"include_Indicator_Scores": true,
"include_IVR_Keypresses": false,
"static_Parameter": [
{
"field_name": "api_key",
"field_value": "sk_live_1234567890",
"field_Name": "api_key",
"field_Value": "your-api-key-here"
}
]
}'