---
title: "Pause a template"
method: POST
path: "/api/v1/templates/{id}/pause"
tags: ["Templates"]
---

# Pause a template

`POST /api/v1/templates/{id}/pause`

## Request

- Base URL: `https://api.gatewerk.com`
- URL: `https://api.gatewerk.com/api/v1/templates/{id}/pause`
- Auth: HTTP bearer

Sets `status=inactive`. New review requests for this slug return 400.

## Response `200`

Paused

- Template
  - `object` 'template', required
  - `id` string, required
  - `slug` string, required
  - `name` string, required
  - `description` string, nullable
  - `fields` TemplateField[], required
    - `name` string, required
    - `label` string, required
    - `type` 'text' | 'markdown' | 'json' | 'image' | 'video' | 'number' | 'boolean' | 'select' | 'buttons' | 'date' | 'url', required
    - `editable` boolean
    - `options` string[]: Required when `type` is `select` or `buttons`.
  - `actions` union[]: Either legacy string shorthand (`['approve','reject']`) or structured `ActionConfig[]`.
    - union
      - string
      - ActionConfig
        - `type` 'approve' | 'reject' | 'request_changes', required
        - `label` string, required
        - `value` string, required
  - `default_priority` 'low' | 'normal' | 'high' | 'critical'
  - `project_id` string, required
  - `status` 'draft' | 'active' | 'inactive'
  - `auto_approve` boolean
  - `enable_review_links` boolean
  - `default_auth_level` 'public' | 'email_otp' | 'account': Pre-fill auth tier for ShareViaLinkDialog (spec section 8.5).
  - `default_expiry_seconds` integer: Pre-fill link expiry in seconds (spec section 8.5). 86400 = 24h, 604800 = 7d, 2592000 = 30d.
  - `timeout_seconds` integer, nullable
  - `timeout_action` 'auto_approve' | 'auto_reject' | 'expire'
  - `instructions` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: 401. Missing or invalid API key.
- `404`: 404. Resource not found.

---

[API](https://skmtc.dev/gatewerk/apis/gatewerk-api.md) · [All operations](https://skmtc.dev/gatewerk/apis/gatewerk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gatewerk/apis/gatewerk-api/revisions/dc634ad16f5c?raw)
