---
title: "Org Create"
method: POST
path: "/v1/prompts"
tags: ["prompts"]
---

# Org Create

`POST /v1/prompts`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/prompts`
- Auth: none declared

## Request body

- PromptCreateIn
  - `key` string, required
  - `title` string, required
  - `template` string, required
  - `category` string, nullable
  - `section` string, nullable
  - `subsection` string, nullable
  - `tier` string, nullable
  - `phase` string, nullable
  - `agent` string, nullable
  - `i18n_key` string, nullable
  - `variables` string[], nullable
  - `description` string, nullable
  - `enabled` boolean
  - `is_default` boolean

## Response `201`

Successful Response

- PromptDetailOut
  - `v` integer
  - `prompt` PromptOut, required
    - `key` string, required
    - `category` string, nullable, required
    - `section` string, nullable, required
    - `subsection` string, nullable, required
    - `tier` string, nullable, required
    - `phase` string, nullable, required
    - `agent` string, nullable, required
    - `i18n_key` string, nullable, required
    - `title` string, required
    - `template` string, required
    - `variables` string[], required
    - `description` string, nullable, required
    - `enabled` boolean, required
    - `is_default` boolean, required
    - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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