---
title: "Fork a published app"
method: POST
path: "/fork/v1"
tags: ["Publish"]
---

# Fork a published app

`POST /fork/v1`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/fork/v1`
- Auth: API key in header `SIGN-IN-WITH-X`

Creates a fully independent project from a published app version. Requires wallet auth, free within tier.

## Headers

- `SIGN-IN-WITH-X` string, required

## Request body

- object
  - `version_id` string, required
  - `name` string, required
  - `subdomain` string

## Response `201`

App forked — new project created

- object

## Other responses

- `401`: Missing or invalid authentication. Run402-originated JSON bodies use the canonical ErrorEnvelope.

---

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