---
title: "Get Campaign Template"
method: GET
path: "/v1/templates/campaigns/{campaignTemplateId}"
tags: ["Templates"]
---

# Get Campaign Template

`GET /v1/templates/campaigns/{campaignTemplateId}`

## Request

- Base URL: `https://api.voucherify.io`
- URL: `https://api.voucherify.io/v1/templates/campaigns/{campaignTemplateId}`
- Auth: one of:
  - API key in header `X-App-Id` and API key in header `X-App-Token`
  - OAuth 2
    - Implicit: `https://api.voucherify.io/v1/oauth/token`
    - Scopes: `api`, `templates`

Retrieves a campaign template available in the project.

> 📘 Campaign Templates – Documentation
>
>Read the [Campaign Templates documentation](/build/campaign-templates) to learn more about this feature.

## Query parameters

- `expand` 'json_template'

## Response `200`

Returns the details about a campaign template.

- TemplatesCampaignsGetResponseBody: Stores details about a campaign template.
  - `id` string, required: Unique identifier of the campaign template. It is assigned by Voucherify.
  - `name` string, required: User-defined name of the campaign template.
  - `description` string: 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_at` string, 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.
  - `updated_at` string, date-time: Timestamp representing the date and time when the campaign template was last updated. The value is shown in the ISO 8601 format.

## Other responses

- `404`: Returns an error if a resource is not found.

---

[API](https://skmtc.dev/voucherifyio/apis/voucherify-api-async-actions.md) - [All operations](https://skmtc.dev/voucherifyio/apis/voucherify-api-async-actions/llms.txt) - [OpenAPI document](https://skmtc.dev/voucherifyio/apis/voucherify-api-async-actions/revisions/4982266e0494?raw)
