> ## Documentation Index
> Fetch the complete documentation index at: https://docs.topify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Public API: prompt create and update endpoints

> Create and update prompts through the public API.

## Prompt write endpoints

The public API now supports creating and updating prompts. Previously, the API was read-only for prompt data.

### New endpoints

* **POST** `/projects/{project_id}/prompts` -- create one or more prompts (up to 50 per request)
* **PATCH** `/projects/{project_id}/prompts/{prompt_id}` -- update prompt content, country, topic, or type
* Prompt deletion is intentionally not exposed through the public API because it is irreversible and unsafe for unattended automation.

API keys can only be created by team administrators. Current keys have full access to all projects owned by the team; project-scoped keys are not available. Existing read-only endpoints are unchanged.

See the [prompts reference](/api-reference/prompts) for full request and response documentation.

### API key scope

API keys are team-wide credentials. Confirm the target `project_id` before every write operation and keep keys in trusted server-side environments only.

### API key visibility

You can now view and copy full API keys from the **Management > Members** page in the dashboard. Keys created before this update only display a prefix.
