---
title: "Create Or Update Prompt"
method: PUT
path: "/v1/default_user_prompts"
tags: ["Prompts"]
---

# Create Or Update Prompt

`PUT /v1/default_user_prompts`

## Request body

- PromptsList
  - `prompts` CreatePrompt[], required
    - `id` string, uuid, nullable
    - `title` string, required
    - `subtitle` string, nullable
    - `prompt` string, required
    - `state` string, nullable

## Response `201`

Successful Response

- PromptOut[]
  - `id` string, uuid, nullable
  - `tenant_id` string, nullable
  - `created_on` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `created_by` string, nullable
  - `updated_by` string, nullable
  - `orchestrate_id` string, nullable
  - `title` string, nullable
  - `subtitle` string, nullable
  - `prompt` string, nullable
  - `state` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ibm/apis/wxo-server-api.md) · [All operations](https://skmtc.net/ibm/apis/wxo-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ibm/wxo-server-api/revisions/82c114c37196/schema)
