---
title: "Create"
method: POST
path: "/api/cp/setup/app"
tags: ["Setup App"]
---

# Create

`POST /api/cp/setup/app`

Create a new Setup App record.

## Request body

- SetupAppInput
  - `id` string — Id
  - `account_id` integer — Account Id
  - `repo_id` string — Repo Id
  - `name` string, required — Name
  - `version` string — Version
  - `domain` string — Domain
  - `company_id` integer — Company Id
  - `framework_version` string — Framework Version
  - `icon` string — Icon
  - `anvil_mcp_api_key` string — Anvil Mcp Api Key

## Response `200`

Successful response

- CreateResponse
  - `id` union — The ID of the newly created record
    - integer
    - string
  - `status` string — Operation status

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `409` — Conflict - foreign key or unique constraint violation on write
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
