Skip to main content
GET
/
v1
/
templates
/
campaigns
/
{campaignTemplateId}
Get Campaign Template
curl --request GET \
  --url https://{cluster}.voucherify.io/v1/templates/campaigns/{campaignTemplateId} \
  --header 'Authorization: Bearer <token>' \
  --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"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

Path Parameters

campaignTemplateId
string
required
Example:

Response

id
string
required
Example:
name
string
required
campaign_type
enum<string>
required
Available options:
DISCOUNT_COUPONS,
GIFT_VOUCHERS
created_at
string<date-time>
required
Example:
object
enum<string>
required
Available options:
campaign_template
description
string
updated_at
string<date-time>
Example: