Resources
Duplicate a template
Copy a template inside its workspace, keeping it in the same collections.
POST /api/templates/{id}/duplicateRequires templates:create.
| Field | Required | Description |
|---|---|---|
workspace | Yes | Workspace slug or id. |
name | No | Name of the copy, 1 to 200 characters. Spaces at either end are trimmed. Defaults to the original name followed by copy. |
curl --request POST "https://app.kalpana.one/api/templates/tpl_123/duplicate" \
--header "x-api-key: $KALPANA_API_KEY" \
--header "content-type: application/json" \
--data '{"workspace":"acme","name":"Product card, sale"}'Response
{
"id": "tpl_456",
"workspaceId": "ws_123",
"name": "Product card, sale"
}The copy has its own id and design, so editing it never changes the original. It joins every template collection the original belongs to.
Errors
| Status | Cause |
|---|---|
403 | Your role or key lacks templates:create. |
404 | The template is not in this workspace or has been deleted. |
Was this page helpful?
Updated 4 Nov 2026