v1

latestOpenAPI 3.0.1MIT2026-07-263151,3912.3 MB
Management

Copy Campaign Template to a Project

Copies a campaign template to another project.

The resources, like validation rules or products, will not be copied to the destination project yet. When the template is used to create a new campaign or add a new promotion tier, the resources will be created in the destination project.

📘 Campaign Templates – Documentation

Read the Campaign Templates documentation to learn more about this feature.

post/management/v1/projects/{projectId}/templates/campaigns/{campaignTemplateId}/copy

Request body

namestring required

User-defined name of the campaign template. It must be unique.

descriptionstring nullable

User-defined description of the campaign template.

destination_project_idstring required

Unique identifier of the project to which the campaign template will be copied.

Response

Returns the details about the copied campaign template.

idstring required

Unique identifier of the campaign template. It is assigned by Voucherify.

namestring required

User-defined name of the campaign template.

descriptionstring

User-defined description of the campaign template.

campaign_type'DISCOUNT_COUPONS' | 'GIFT_VOUCHERS' required

Type of the campaign used to create the campaign template. Templates created from a promotion tier are converted to DISCOUNT_COUPONS.

created_atstring date-time required

Timestamp representing the date and time when the campaign template was created. The value is shown in the ISO 8601 format.

object'campaign_template' required

The type of the object represented by JSON.

Example response

{
  "id": "camp_tpl_eR9NsNJ5gqJRN2TG3fqCvbVl",
  "created_at": "2024-07-16T09:05:53.175Z"
}