---
title: "Create Custom Prompt"
method: POST
path: "/api/outreach/prompts"
tags: ["outreach", "outreach"]
---

# Create Custom Prompt

`POST /api/outreach/prompts`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/outreach/prompts`
- Auth: none declared

Create a new custom outreach prompt.

## Request body

- CreatePromptRequest: Request to create custom prompt.
  - `name` string, required
  - `description` string, nullable
  - `prompt_text` string, required
  - `model` string
  - `temperature` number
  - `max_tokens` integer
  - `is_default` boolean

## Response `200`

Successful Response

- OutreachPrompt: Custom outreach prompt template.
  - `id` integer, required
  - `name` string, required
  - `description` string, nullable
  - `prompt_text` string, required
  - `model` string
  - `temperature` number
  - `max_tokens` integer
  - `is_default` boolean
  - `sort_order` integer
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
