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

# Create Prompt

`POST /v1/prompts`

## Request body

- CreatePublicPromptRequest
  - `topic_id` string, required
  - `text` string, required
  - `platform_ids` string[]

## Response `200`

Successful Response

- PublicPrompt
  - `id` string, required
  - `topic_id` string, required
  - `text` string, required
  - `language_id` string, nullable
  - `region_id` string, nullable
  - `is_active` boolean
  - `status` 'active' | 'inactive' | 'archived', nullable
  - `topic` PublicPromptTopic
    - `id` string, required
    - `name` string, required
    - `created_at` string, nullable
    - `updated_at` string, nullable
  - `platforms` PublicPromptPlatform[]
    - `id` string, required
    - `name` string, required
  - `tags` PublicPromptTag[]
    - `id` string, required
    - `name` string, required
    - `created_at` string, nullable
    - `updated_at` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-15** `820f778732b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usesapient/apis/sapient-public-api/changes/v1/prompts/post.md)

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) · [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesapient/sapient-public-api/revisions/820f778732b1/schema)
