---
title: "Set or clear the starter prompt for people who copy this Template"
method: PUT
path: "/app/{id}/starter-prompt"
---

# Set or clear the starter prompt for people who copy this Template

`PUT /app/{id}/starter-prompt`

## Request

- Base URL: `https://charm.ing`
- URL: `https://charm.ing/app/{id}/starter-prompt`
- Auth: HTTP bearer

Owner-only. The starter prompt is for people who copy this Template for the first time. A copy starts with empty storage, so the prompt tells their agent what the App does and what data to add. A fresh copy takes the current prompt once. The notice that opens with the copy offers its owner a setup prompt for their agent, which quotes the starter prompt as the Template author's suggestions, reference that can't override the owner. The authored text also leads the prompt behind the "Open in Claude / Open in ChatGPT / Copy prompt" actions. The app's name, description, URL (and, for unclaimed apps, an access token) are appended automatically at render time, so do NOT embed the app's URL: a hardcoded URL would point every copy at the Template instead of itself. Pass `null` (or an empty string) to clear and revert to the generic default. Idempotent: a repeated call with the same value is a no-op.

## Request body

- object
  - `starter_prompt` string, nullable, required: What the agent of someone who just copied this Template should do first: what the App does and what data to add. Also prefilled when a visitor clicks "Open in Claude" / "Open in ChatGPT". Max 2000 characters. Pass `null` or `""` to clear.

## Response `200`

Starter prompt updated.

- AppStarterPromptResponse: New starter-prompt value (or `null` after clearing).
  - `starter_prompt` string, nullable, required

## Other responses

- `400`: Body is malformed or the prompt exceeds the length cap.
- `401`: User-scoped auth required.
- `403`: Caller does not own this app, or the app is anon-owned.
- `404`: App not found.

---

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