Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/clone_template.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Clone Template

POSThttps://a.klaviyo.com/api/template-clone

Create a clone of a template with the given template ID.

If there are 1,000 or more templates in an account, cloning will fail as there is a limit of 1,000 templates that can be created via the API.

Revision header
revision: 2025-01-15required
Scopes
templates:write
Rate limits
Burst: 10/sSteady: 150/m

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • template
    • id#stringrequired

      The ID of template to be cloned

    • attributes#objectrequired
      Show 1 field
      • name#stringnullable

        The name of the template

        Example: Clone of Monthly Newsletter Template

Responses

201Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • template
    • id#stringrequired

      The ID of template

    • attributes#objectrequired
      Show 7 fields
      • name#stringrequired

        The name of the template

      • editor_type#stringrequired

        editor_type has a fixed set of values:

        • SYSTEM_DRAGGABLE: indicates a drag-and-drop editor template
        • SIMPLE: A rich text editor template
        • CODE: A custom HTML template
        • USER_DRAGGABLE: A hybrid template, using custom HTML in the drag-and-drop editor
      • html#stringrequired

        The rendered HTML of the template

      • text#stringnullable

        The template plain_text

      • amp#stringnullable

        The AMP version of the template. Requires AMP Email to be enabled to access in-app. Refer to the AMP Email setup guide at Send AMP emails in Klaviyo

      • created#string<date-time>nullable

        The date the template was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        Example: 2022-11-08T00:00:00+00:00

      • updated#string<date-time>nullable

        The date the template was updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        Example: 2022-11-08T00:00:00+00:00

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string