---
title: "Fork Template Route"
method: POST
path: "/templates/fork"
---

# Fork Template Route

`POST /templates/fork`

## Request

- Base URL: `https://api.goodeye.dev/v1`
- URL: `https://api.goodeye.dev/v1/templates/fork`
- Auth: none declared

Copy a public template into your own private skill.

## Request body

- ForkTemplateInput: Input for ``fork_template``. ``identifier`` accepts a UUID string, ``@handle/slug``, or ``@handle/slug@vN``. ``version`` lets the caller pin to an older published version; default is the latest live version. ``name`` lets the caller override the fork's slug; default is the template slug with a numeric suffix on caller-namespace collision.
  - `identifier` string, required
  - `version` integer, nullable
  - `name` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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