---
title: "CreateAppVersionBody"
description: "Request body for creating an AppVersion."
section: "Reference"
group: "Types"
order: 33
---

## Definition

```ts
interface CreateAppVersionBody {
  appId: string;
  name?: string | undefined;
  parentId?: string | undefined;
}
```

## Fields

| Field      | Type                  | Notes                                                 |
| ---------- | --------------------- | ----------------------------------------------------- |
| `appId`    | `string`              | `required` — App to create a new version of.          |
| `name`     | `string \| undefined` | `optional` — Version name (auto-generated if omitted) |
| `parentId` | `string \| undefined` | `optional` — Fork from this version (copies files)    |
