create_webhook
Create an application webhook and return its signing secret once.
The secret is shown only on this response. See https://docs.merofoundry.app/recipes/tool-create-webhook for the signature scheme and delivery retries.
Input schema
Section titled “Input schema”{ "additionalProperties": false, "properties": { "application_id": { "title": "Application Id", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "events": { "items": { "type": "string" }, "title": "Events", "type": "array" }, "headers": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Headers" }, "is_active": { "default": true, "title": "Is Active", "type": "boolean" }, "model_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Model Id" }, "name": { "title": "Name", "type": "string" }, "retry_policy": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "title": "Retry Policy" }, "secret": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Secret" }, "url": { "title": "Url", "type": "string" } }, "required": [ "application_id", "name", "url", "events" ], "title": "create_webhookArguments", "type": "object"}Output schema
Section titled “Output schema”{ "properties": { "applicationId": { "format": "uuid", "title": "Applicationid", "type": "string" }, "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "createdBy": { "format": "uuid", "title": "Createdby", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "events": { "items": { "type": "string" }, "title": "Events", "type": "array" }, "headers": { "additionalProperties": { "type": "string" }, "title": "Headers", "type": "object" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "isActive": { "title": "Isactive", "type": "boolean" }, "modelId": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Modelid" }, "name": { "title": "Name", "type": "string" }, "retryPolicy": { "additionalProperties": true, "title": "Retrypolicy", "type": "object" }, "secret": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Secret" }, "updatedAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updatedat" }, "url": { "title": "Url", "type": "string" } }, "required": [ "id", "applicationId", "name", "url", "events", "headers", "isActive", "retryPolicy", "createdBy" ], "title": "PublicWebhookResponse", "type": "object"}