Skip to content

Update Webhook

Tool name: update-webhook

Updates supplied webhook settings; omitted fields stay, fields and staticFields replace their lists (a custom field is "CustomField", see settings.fields), and empty activationTagIds.ids removes triggers. A webhook with trigger tags requires user approval of target and transmitted data with confirmActivation. Does not call the target.

Input schema

idinteger, >= 1required
settingsobjectrequired
confirmActivationboolean
Default:false
accountIdnull or integer, >= 1
Default:null
Input example
{ "id": 1, "settings": { "name": "string", "notes": "string", "metaLabels": [ "string" ], "activationTagIds": { "ids": [ 1 ], "new": [] }, "activationUrl": "string", "requestMethod": "GET", "sendingMode": "all", "postFormat": "form-data", "fields": [ { "id": "string", "parameterName": "string", "type": "string", "defaultValue": "string", "format": 0 } ], "staticFields": [ { "id": "string", "parameterName": "string", "type": "string", "defaultValue": "string", "format": 0 } ] }, "confirmActivation": false, "accountId": null }

Output schema

accountIdintegerrequired
idintegerrequired
settingsobjectrequired
activationSmartTagIdintegerrequired
editUrlstringrequired
Output example
{ "accountId": 0, "id": 0, "settings": { "name": "string", "notes": "string", "metaLabels": [ "string" ], "activationTagIds": { "ids": [ 1 ], "new": [] }, "activationUrl": "string", "requestMethod": "GET", "sendingMode": "all", "postFormat": "form-data", "fields": [ { "id": "string", "parameterName": "string", "type": "string", "defaultValue": "string", "format": 0 } ], "staticFields": [ { "id": "string", "parameterName": "string", "type": "string", "defaultValue": "string", "format": 0 } ] }, "activationSmartTagId": 0, "editUrl": "string" }