Templates

Duplicate template

Create an independent copy of a template from its latest published version as a single new version 1, including prompt, schema, validation rules, notifications, and frequency. The copy has no linked workflows. Defaults the name to the source name plus a collision-safe "(Copy)" suffix.

post/v4/templates/{templateId}/duplicate

Request

  • Base URL: https://api.kadoa.com
  • URL: https://api.kadoa.com/v4/templates/{templateId}/duplicate
  • Auth: API key in header x-api-key

Path parameters

templateIdstring uuid required

Template ID

Request body

namestring

Name for the duplicate. Defaults to the source name with a collision-safe "(Copy)" suffix.

Response

201

errorfalse required

Error flag (always false on success)

successtrue required

Success flag

Changes

No recorded changes to this operation across all 1 revision of this API.