---
title: "Create a persona"
method: POST
path: "/api/v1/personas"
tags: ["Personas"]
---

# Create a persona

`POST /api/v1/personas`

**Required scope:** `persona`

## Request body

- PersonaRequest
  - `persona_id` string, required
  - `system_prompt` string, required
  - `begin_dialogs` string[]
  - `folder_id` string
  - `tools` string[]
  - `skills` string[]
  - `custom_error_message` string

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

---

[API](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/versions/4463c5ffdb9c/schema)
