Skip to content

Create Webhook

Tool name: create-webhook

Creates a webhook with name and activationUrl. Defaults to POST, all contact data, form-data and no trigger tags. Selected fields name a custom field as "CustomField", see settings.fields. Trigger tags arm future outbound requests and require user approval with confirmActivation; no request is sent now.

Input schema

settingsobjectrequired
confirmActivationboolean
Default:false
accountIdnull or integer, >= 1
Default:null
Input example
{ "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" }