---
title: "Get Template"
method: GET
path: "/cabinet/admin/promo-offers/templates/{template_id}"
tags: ["Admin Promo Offers"]
---

# Get Template

`GET /cabinet/admin/promo-offers/templates/{template_id}`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/admin/promo-offers/templates/:template_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a promo offer template.

## Path parameters

- `template_id` integer, required

## Response `200`

Successful Response

- AppCabinetRoutesAdminPromoOffersPromoOfferTemplateResponse
  - `id` integer, required
  - `name` string, required
  - `offer_type` string, required
  - `message_text` string, required
  - `button_text` string, required
  - `valid_hours` integer, required
  - `discount_percent` integer, required
  - `bonus_amount_kopeks` integer, required
  - `active_discount_hours` integer, nullable
  - `test_duration_hours` integer, nullable
  - `test_squad_uuids` string[]
  - `is_active` boolean, required
  - `created_by` integer, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
