---
title: "cloneVersion"
method: POST
path: "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}"
tags: ["App Configuration"]
---

# cloneVersion

`POST /v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}`

Clone an existing app version to create a new version

## Path parameters

- `appId` string, required
- `sourceVersion` string, required
- `targetVersion` string, required

## Response `201`

New version created successfully

- object
  - `app_id` string
  - `version` string
  - `status` 'pending' | 'published'

## Other responses

- `400` — Invalid version format or target version already exists
- `404` — Source version not found

---

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