Clone Campaign

Cloning a campaign saves time and you don't need to start an email campaign from scratch. Using this API, you can clone campaigns.

Scope required

  • ZohoMarketingAutomation.campaign.CREATE

Other alternative scopes

  • ZohoMarketingAutomation.campaign.CREATE-UPDATE (CREATE + UPDATE)
  • ZohoMarketingAutomation.campaign.WRITE (CREATE + UPDATE + DELETE)
  • ZohoMarketingAutomation.campaign.ALL (CREATE + UPDATE + DELETE + READ)

Header:

Authorization: Zoho-oauthtoken <access_token>

Request Type:

  • GET/POST

Request URL

https://marketingautomation.zoho.com/api/v1/json/clonecampaign

API Limit

  • Duration: 5 mins
  • Number of Calls: 500
  • Lock Period: 30 mins

You can send 500 API calls per 5 minutes. If you hit this limit, you can't use this API for the next 30 minutes due to security reasons, but you can still use other APIs if their lock period hasn’t been reached.

List of Parameters

ParameterData TypeDescription
versionStringThis will fetch responses based on the current API version
resfmtString JSON
campaigninfo* JSON

Internal parameters are,

  • campaignname
  • subject
  • from_name
  • from_add
  • reply_to
  • oldcampaignkey
  • encode_type
  • encode_type

 

* - Mandatory Parameters

Possible error cases

Error code             Description                                                                    
902No account present for this user.
903Mandatory fields are missing.
6610Email is not verified.
7001Error in campaign creation.

If your error code is not listed above, click here.

Sample request

Copiedhttps://marketingautomation.zoho.com/api/json/clonecampaign?version=1&campaigninfo={"campaignname":"Sample1","subject":"Sample","oldcampaignkey":[campaignkey],"from_name":"John","from_add":"john.doe@xyz.com","reply_to":"john.doe@xyz.com","encode_type":"UTF-8"}&resfmt=[JSON]

Sample Response

Copied{
  "status": "success",
  "code": "0",
  "url": "/api/json/clonecampaign",
  "campaign-details": "[{reply_to=null, campaign_name=Sample1, email_subject=Sam1ple, email_from=null}]",
  "version": "1"
}