Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v75
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
    • Activate mailing
    • Deactivate mailing
    • Get mailing list
    • Get mailing information
    • Get mailing log
    • Clone mailing
    • Delete mailing
    • Get mailing status
    • Broadcast mailings
    • Regular mailings
    • Trigger mailings
      • Get trigger mailings list
      • Get trigger mailing information
      • Create trigger mailing
      • Update trigger mailing
      • Trigger launch (API call)
      • Profile import + trigger mailing launch
      • Task for bulk trigger launch
      • Task for bulk profiles import + trigger launch
      • Bulk trigger launch
      • Bulk profiles import + trigger mailing launch
      • Clone a trigger mailing
      • Data array
  • Automation scenarios
  • Loyalty Programs
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Mailings
  • Trigger mailings
  • Clone a trigger mailing
Documentation for version v75

Clone a trigger mailing

Description​

Clones content and settings of a trigger mailing to a newly created mailing.

Request URL​

Method: POST

https://example.com/api/v1.1/campaigns/triggers/clone

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
By default – json
idint1YesMailing ID
namestring"Clone"NoNew mailing name
By default – "Clone of ..."
is_activeboolfalseNoMailing status

Request example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 96,
"name": "Clone trigger mailing #1",
"is_active": false
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<name>Clone trigger mailing #2</name>
<id>95</id>
<is_active>true</is_active>
</xml>

Response example​

  • JSON
  • XML
{
"data": {
"saved_id": 97
},
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data>
<saved_id>96</saved_id>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
saved_idintNew mailing ID
Last updated on Feb 21, 2024
Previous
Bulk profiles import + trigger mailing launch
Next
Data array
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.