---
title: "Create CYA profile from template"
method: POST
path: "/api/cya/profile/from-template"
tags: ["CYA Agent"]
---

# Create CYA profile from template

`POST /api/cya/profile/from-template`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/cya/profile/from-template`
- Auth: none declared

Creates or updates a profile from a predefined template plus optional overrides.

## Query parameters

- `token` string

## Request body

- object
  - `templateId` string, required
  - `profile_id` string, required
  - `overrideMode` 'append' | 'replace'
  - `overrides` object, nullable
    - `organization` string, nullable
    - `department` string, nullable
    - `strategic_goals` string[]
    - `tone` string
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Profile created from template

- object
  - `success` boolean
  - `profile_id` string
  - `templateId` string
  - `createdAt` string, date-time

## Other responses

- `404`: Template not found

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
