Skip to content
v1.0.0
OAS 3.0.1

Timer Clone API

This API call allows you to update timer links in the HTML code when copying an email template outside the Stripo editor. It ensures that the timers are correctly cloned and updated in the new template.

Server:
Client Libraries

Methods

Methods Operations

Updating Timer Block Links

Clone timers and update timer links in HTML

Headers
  • ES-PLUGIN-AUTH
    Type: string
    required

    Authorization token

Body
required
application/json
  • html
    Type: string
    required

    HTML code containing timer links

Responses
  • 200
    Type: object
    • html
      Type: string

      HTML code with updated timer links

    • timersMap
      Type: object

      Mapping of old timer IDs to new timer IDs and URLs

Request Example for post/api/v1/timers/clone
curl /api/v1/timers/clone \
  --request POST \
  --header 'ES-PLUGIN-AUTH: Bearer YOUR_AUTH_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "html": "Timer link: ..."
}'
{
  "html": "Timer link: ...",
  "timersMap": {
    "propertyName*": {}
  }
}