---
title: "Toggle hidden template"
method: POST
path: "/v2/event-templates/hidden"
tags: ["Event Templates"]
---

# Toggle hidden template

`POST /v2/event-templates/hidden`

Enable or disable hidden template for an organization. When enabled, creates or unarchives a hidden template. When disabled, archives it.

## Request body

- ToggleHiddenTemplateRequest — Request to toggle hidden template for an organization.
  - `companyId` CompanyId, required — Company ID
    - `id` string, uuid, required
  - `enabled` boolean, required — Whether to enable or disable hidden template for the organization.

## Response `200`

OK

- ToggleHiddenTemplateResponse — Response for toggle hidden template.
  - `templateId` string — ID of the hidden template. Present when enabled is true.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/spotnana/apis/template-api.md) · [All operations](https://skmtc.net/spotnana/apis/template-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/template-api/revisions/d07ab54503f7/schema)
