---
title: "Validate Template"
method: POST
path: "/api/templates/validate"
tags: ["Automations"]
---

# Validate Template

`POST /api/templates/validate`

## Request

- The document declares no server URL.
- Auth: none declared

## Headers

- `x-prefect-api-version` string

## Request body

- string

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2024-04-09** `0803f67b017b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/changes/api/templates/validate/post.md)

---

[API](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api.md) - [All operations](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/revisions/29ba6c4f8837?raw)
