sendmock webhook template clone
Copy a template into a new custom one.
sendmock webhook template clone <templateId> [flags]
| Argument | Type | Description |
|---|---|---|
| <templateId>required | string | The webhook template's ID, e.g. slack.incoming_webhook or custom.ops_alert.Example: slack.incoming_webhook |
| Flag | Type | Description |
|---|---|---|
| --name <name>required | string | The name of the copy.Example: Slack alerts (team) |
Example
sendmock webhook template clone slack.incoming_webhook --name 'Slack alerts (team)'
Output with --json: WebhookTemplateSummary. Exit codes: 0, 1, 2, 3.
- API
- POST
/api/v1/webhooks/templates/{templateId}/clone - MCP tool
sendmock_webhook_template_clone- In the app
- Webhooks > Templates > template > Clone