ts.tpl.fork

Fork a template to create a derived version.

Fork a template to create a derived version.

Requires authentication

Description

Creates a new template derived from an existing one. The new template inherits the source’s body and metadata unless overridden.

Parameters

NameTypeRequiredDefaultDescription
source_idstringYesSource template ID to fork from
namestringName for the forked template
bodystringOverride body
langstringOverride language code
metadataobjectOverride metadata

Response

Returns the newly created forked template.

{
  "id": "tpl_f1g2h3i4j5k6...",
  "name": "Sprint Summary (forked)",
  "source_id": "tpl_a1b2c3d4e5f6...",
  "status": "active"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
not_foundSource template not found