---
title: "Apply Template"
method: POST
path: "/api/ai-agents/templates/apply"
tags: ["ai-agents", "ai-agents"]
---

# Apply Template

`POST /api/ai-agents/templates/apply`

## 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/ai-agents/templates/apply`
- Auth: none declared

## Request body

- ApplyTemplateRequest
  - `template_slug` string, required
  - `customize` object, nullable

## Response `200`

Successful Response

- ApplyTemplateResponse
  - `success` boolean, required
  - `prompts_created` integer, required
  - `prompt_ids` integer[], required
  - `settings_updated` boolean, 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)
