Skip to content
v1.0.0
OAS 3.0.3

Email Model Clone API

This API method allows you to clone an existing email model and create a new one based on its structure and content.

The cloned email model is created as a separate entity with a new identifier, while the original email model remains unchanged.

This method is useful when you need to duplicate an email model programmatically and continue working with the copied version independently.

Server:https://plugins.stripo.email

Stripo API server

Client Libraries

Methods

Clone email model

Clone an existing email model and create a new email model based on it.

The method copies the structure and content of the source email model and creates a new email model with a new unique identifier.

The response contains the identifier of the newly created email model, which can be used for further operations in the editor or via API.

Headers
  • ES-PLUGIN-AUTH
    Type: string
    required

    Stripo plugin auth token in the format - Bearer ${AUTH_TOKEN}

  • ES-PLUGIN-UI-DATA
    Type: string
    required

    JSON string with parameters to identify email (same as metadata parameter in the UI editor). For example: {"emailId": "id1"}

Body
required
application/json
  • destinationId
    Type: string

    Destination email ID

  • sourceId
    Type: string

    Source email ID

Responses
  • 200
    Type: object
    • destinationId
      Type: string

      Destination email ID

Request Example for post/coediting/v1/email/copy
curl https://plugins.stripo.email/coediting/v1/email/copy \
  --request POST \
  --header 'ES-PLUGIN-AUTH: ' \
  --header 'ES-PLUGIN-UI-DATA: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceId": "",
  "destinationId": ""
}'
{
  "destinationId": "string"
}

Models

  • destinationId
    Type: string

    Destination email ID

  • sourceId
    Type: string

    Source email ID

  • destinationId
    Type: string

    Destination email ID