---
title: "create_system_prompt"
method: POST
path: "/create_system_prompt"
tags: ["system_prompt"]
---

# create_system_prompt

`POST /create_system_prompt`

## Request

- Base URL: `https://app.podmule.com/api/v1`
- URL: `https://app.podmule.com/api/v1/create_system_prompt`
- Auth: HTTP bearer

Save a new workspace prompt template under a given key. Use when the user says 'save this as a prompt', 'remember this template', 'make this our default <thing>'. The new template is org-scoped — it shadows any global default with the same key. Confirm the key with the user before saving (avoid creating multiple lookalike keys like show_notes_v2_final). Rejects if the key already exists; use update_system_prompt instead.

## Headers

- `Idempotency-Key` string
- `X-PodMule-Dry-Run` 'true' | 'false'

## Request body

- unknown

## Response `200`

Capability output wrapped in `{ data }`.

- object
  - `data` unknown, required

## Other responses

- `400`: Invalid input — Zod validation failed.
- `401`: Missing, malformed, or audience-mismatched bearer token.
- `403`: Token is valid but lacks the required scope.
- `404`: Capability not registered, or referenced resource not found.
- `409`: IDEMPOTENCY_KEY_REUSED — same Idempotency-Key was used previously with a different request body.
- `429`: Rate limit exceeded. Retry after the period in `Retry-After`.
- `500`: Internal error.

---

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