sendmock_webhook_template_clone
Copy a template into a new custom one.
Toolset templates.
| Input | Type | Description |
|---|---|---|
| template_idrequired | string | The webhook template's ID, e.g. slack.incoming_webhook or custom.ops_alert.Example: slack.incoming_webhook |
| namerequired | string | The name of the copy.Example: Slack alerts (team) |
Example call
{
"name": "sendmock_webhook_template_clone",
"arguments": {
"template_id": "slack.incoming_webhook",
"name": "Slack alerts (team)"
}
}Result: WebhookTemplateSummary
- API
- POST
/api/v1/webhooks/templates/{templateId}/clone - CLI
sendmock webhook template clone <templateId>- In the app
- Webhooks > Templates > template > Clone