Get Campaign Template
curl --request GET \
--url https://{cluster}.voucherify.io/v1/templates/campaigns/{campaignTemplateId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"id": "camp_tpl_zLtn2H9fgcG3NwO7t4PAfHcq",
"name": "Happy Hours Template",
"description": "Template for a Happy Hours campaign with discount coupons.",
"campaign_type": "DISCOUNT_COUPONS",
"created_at": "2019-09-09T09:09:09.009Z",
"object": "campaign_template"
}{
"code": 404,
"key": "not_found",
"message": "Resource not found",
"details": "Cannot find campaign_template with id camp_tpl_zLtn2H9fgcG3NwO7t4PAfHc",
"request_id": "v-0f6d3efe61099b2824",
"resource_id": "camp_tpl_zLtn2H9fgcG3NwO7t4PAfHc",
"resource_type": "campaign_template"
}Get Campaign Template
Retrieves a campaign template available in the project.
Campaign Templates – Documentation
Read the Campaign Templates documentation to learn more about this feature.
GET
/
v1
/
templates
/
campaigns
/
{campaignTemplateId}
Get Campaign Template
curl --request GET \
--url https://{cluster}.voucherify.io/v1/templates/campaigns/{campaignTemplateId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"id": "camp_tpl_zLtn2H9fgcG3NwO7t4PAfHcq",
"name": "Happy Hours Template",
"description": "Template for a Happy Hours campaign with discount coupons.",
"campaign_type": "DISCOUNT_COUPONS",
"created_at": "2019-09-09T09:09:09.009Z",
"object": "campaign_template"
}{
"code": 404,
"key": "not_found",
"message": "Resource not found",
"details": "Cannot find campaign_template with id camp_tpl_zLtn2H9fgcG3NwO7t4PAfHc",
"request_id": "v-0f6d3efe61099b2824",
"resource_id": "camp_tpl_zLtn2H9fgcG3NwO7t4PAfHc",
"resource_type": "campaign_template"
}Authorizations
X-App-Id & X-App-TokenX-Voucherify-OAuth
Scopes
Path Parameters
Query Parameters
Response
Returns the details about a campaign template.
Response body schema for GET /v1/templates/campaign/{campaignTemplateId}.

