---
title: "Add Chatbot Persona"
method: POST
path: "/v0/chatbots/{chatbotId}/settings/personas"
tags: ["Chatbot Personas"]
---

# Add Chatbot Persona

`POST /v0/chatbots/{chatbotId}/settings/personas`

## Request

- Base URL: `https://sitegpt.ai/api`
- URL: `https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas`
- Auth: HTTP bearer

Add a custom persona to the chatbot

## Request body

- object: Request body
  - `title` string, required: Title of the persona.
  - `description` string, required: Short description about the persona.
  - `instructions` string, required: Actual instructions that will be specified to the AI while generating the response.

## Response `200`

OK

- object: Success Response
  - `success` boolean: Indicates whether this is success response or error response
  - `message` string: Overall message regarding the operation performed
  - `data` object: Data returned from the server
    - `persona` ChatbotPersona: Chatbot Persona
      - `id` string: Id of the persona
      - `title` string: Title of the persona
      - `description` string: Short description of the persona
      - `instructions` string: Actual instructions of the persona. These will be sent to Open AI.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection.md) · [All operations](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/llms.txt) · [OpenAPI document](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/revisions/aec0de1a00af?raw)
