Skip to main content

Overview

Updates an existing webhook endpoint. You can edit the URL and the endpoint status.

Set Request Header Group

cURL -X POST /open-api/v1/webhooks/{webhook_id}/update
'Content-Type:application/json',
'Authorization:${open_api_token}'

Query Details

View the complete request parameters.

-d '{
"webhook_name": "webhook_name",
"webhook_url": "https://example.com",
}'

Query Results

{
"code": "200",
"msg": "SUCCESS",
"trace_id": "c7b7f09a6b924441a6624615238ecbaf",
"data": {
"webhook_id": 63,
"webhook_name": "webhook_name",
"webhook_url": "https://example.com",
"sign_secret": "xerXCvRE704nzTUPeRj0XXDoXSwVNaSlksmfvfozfguR8s25bpuQdd4ZqdsC3upj",
"creator_id": 246011,
"creator_name": "246011",
"create_time": 1751352705000,
"operator_id": 246011,
"operator_name": "246011",
"operate_time": 1751352775129
}
}